diff options
author | Brad King <brad.king@kitware.com> | 2023-12-19 13:38:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-12-19 13:51:16 (GMT) |
commit | 68a03cf3d4cbeae272e4b810d0b81fd3f34ebfc0 (patch) | |
tree | 80857db1297dbcfa9e993b0ac51d47d61c2c7fcb /Tests | |
parent | ff21f0f70f4cd977b6baa22ead5b142a80acd67d (diff) | |
download | CMake-68a03cf3d4cbeae272e4b810d0b81fd3f34ebfc0.zip CMake-68a03cf3d4cbeae272e4b810d0b81fd3f34ebfc0.tar.gz CMake-68a03cf3d4cbeae272e4b810d0b81fd3f34ebfc0.tar.bz2 |
generate_apple_platform_selection_file: Add INSTALL_PREFIX option
This is necessary to forward to `configure_package_config_file`.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/CMakePackage/apple-export-common.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakePackage/apple-export-common.cmake b/Tests/RunCMake/CMakePackage/apple-export-common.cmake index 1381f59..eb6ce01 100644 --- a/Tests/RunCMake/CMakePackage/apple-export-common.cmake +++ b/Tests/RunCMake/CMakePackage/apple-export-common.cmake @@ -9,6 +9,7 @@ install(EXPORT mylib-targets DESTINATION lib/${platform_name}/cmake/mylib) include(CMakePackageConfigHelpers) generate_apple_platform_selection_file(mylib-config-install.cmake INSTALL_DESTINATION lib/cmake/mylib + INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX} MACOS_CONFIG_FILE lib/macos/cmake/mylib/mylib-targets.cmake IOS_CONFIG_FILE lib/ios/cmake/mylib/mylib-targets.cmake IOS_SIMULATOR_CONFIG_FILE lib/ios-simulator/cmake/mylib/mylib-targets.cmake |