]> git.mxchange.org Git - simgear.git/commitdiff
CMake: don’t export build to build tree
authorJames Turner <zakalawe@mac.com>
Tue, 2 Feb 2016 18:33:20 +0000 (18:33 +0000)
committerJames Turner <zakalawe@mac.com>
Tue, 2 Feb 2016 18:33:20 +0000 (18:33 +0000)
- only export targets to the install tree, since this is
  hopefully compatible with CMake 2.8

CMakeLists.txt

index 07815047a8a475e67643be6548d73657498f012a..dffb095738fd5b3cf37d813e3b84008301acdbad 100644 (file)
@@ -441,11 +441,6 @@ write_basic_package_version_file(
   COMPATIBILITY AnyNewerVersion
 )
 
-export(EXPORT SimGearTargets
-  FILE "${CMAKE_CURRENT_BINARY_DIR}/SimGear/SimGearTargets.cmake"
-  NAMESPACE Upstream::
-)
-
 configure_file(SimGearConfig.cmake.in
   "${CMAKE_CURRENT_BINARY_DIR}/SimGear/SimGearConfig.cmake"
   @ONLY