From 202571386b3dc159b6002c93f359f8a56644839b Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 20 Oct 2016 19:59:18 +0100 Subject: [PATCH] Exported package fix. https://sourceforge.net/p/flightgear/codetickets/1892/ --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ebac679c..7ae7708a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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} )