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:
parent
ccb5d05eb4
commit
af0a51930e
@ -441,11 +441,6 @@ write_basic_package_version_file(
|
|||||||
COMPATIBILITY AnyNewerVersion
|
COMPATIBILITY AnyNewerVersion
|
||||||
)
|
)
|
||||||
|
|
||||||
export(EXPORT SimGearTargets
|
|
||||||
FILE "${CMAKE_CURRENT_BINARY_DIR}/SimGear/SimGearTargets.cmake"
|
|
||||||
NAMESPACE Upstream::
|
|
||||||
)
|
|
||||||
|
|
||||||
configure_file(SimGearConfig.cmake.in
|
configure_file(SimGearConfig.cmake.in
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/SimGear/SimGearConfig.cmake"
|
"${CMAKE_CURRENT_BINARY_DIR}/SimGear/SimGearConfig.cmake"
|
||||||
@ONLY
|
@ONLY
|
||||||
|
Loading…
Reference in New Issue
Block a user