From: James Turner Date: Tue, 2 Feb 2016 18:33:20 +0000 (+0000) Subject: CMake: don’t export build to build tree X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=af0a51930eb7afa869430f4d9da0719f9ea3b12d;p=simgear.git CMake: don’t export build to build tree - only export targets to the install tree, since this is hopefully compatible with CMake 2.8 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 07815047..dffb0957 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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