CMake: don’t export build to build tree

- only export targets to the install tree, since this is
  hopefully compatible with CMake 2.8
This commit is contained in:
James Turner 2016-02-02 18:33:20 +00:00
parent ccb5d05eb4
commit af0a51930e

View 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