Exported package fix.

https://sourceforge.net/p/flightgear/codetickets/1892/
This commit is contained in:
James Turner 2016-10-20 19:59:18 +01:00
parent 7837bd0e11
commit 202571386b

View File

@ -507,7 +507,7 @@ configure_file(SimGearConfig.cmake.in
@ONLY
)
set(ConfigPackageLocation lib/cmake/SimGear)
set(ConfigPackageLocation ${CMAKE_INSTALL_LIBDIR}/cmake/SimGear)
install(EXPORT SimGearTargets
DESTINATION ${ConfigPackageLocation}
)