summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-12-05 16:27:24 (GMT)
committerBrad King <brad.king@kitware.com>2023-12-07 21:54:09 (GMT)
commitf23636617a5baeedf47abc0d96e9c1ca1f30bfee (patch)
tree32b7d914e1ea80dc832cd828dfdd44ae66036e57
parent3c991f56e72daf65e26d7f081bfd23e21d6b45c4 (diff)
downloadCMake-f23636617a5baeedf47abc0d96e9c1ca1f30bfee.zip
CMake-f23636617a5baeedf47abc0d96e9c1ca1f30bfee.tar.gz
CMake-f23636617a5baeedf47abc0d96e9c1ca1f30bfee.tar.bz2
CMakePackageConfigHelpers: Move platform selection template to Internal/
The template added by commit 37bc3400cd (CMakePackageConfigHelpers: Add generate_apple_platform_selection_file(), 2023-11-03) is a private implementation detail. Move it to `Modules/Internal/`.
-rw-r--r--Modules/CMakePackageConfigHelpers.cmake2
-rw-r--r--Modules/Internal/PlatformSelectionFile.cmake.in (renamed from Modules/PlatformSelectionFile.cmake.in)0
2 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakePackageConfigHelpers.cmake b/Modules/CMakePackageConfigHelpers.cmake
index dabb635..ab38820 100644
--- a/Modules/CMakePackageConfigHelpers.cmake
+++ b/Modules/CMakePackageConfigHelpers.cmake
@@ -442,7 +442,7 @@ function(generate_apple_platform_selection_file _output_file)
endif()
endforeach()
- configure_package_config_file("${CMAKE_CURRENT_FUNCTION_LIST_DIR}/PlatformSelectionFile.cmake.in" "${_output_file}"
+ configure_package_config_file("${CMAKE_CURRENT_FUNCTION_LIST_DIR}/Internal/PlatformSelectionFile.cmake.in" "${_output_file}"
INSTALL_DESTINATION "${_gpsf_INSTALL_DESTINATION}"
NO_SET_AND_CHECK_MACRO
NO_CHECK_REQUIRED_COMPONENTS_MACRO
diff --git a/Modules/PlatformSelectionFile.cmake.in b/Modules/Internal/PlatformSelectionFile.cmake.in
index 3f80f4b..3f80f4b 100644
--- a/Modules/PlatformSelectionFile.cmake.in
+++ b/Modules/Internal/PlatformSelectionFile.cmake.in