From b510225b600b86162f71d2793a093b61afa140c4 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 23 Aug 2025 11:37:06 +0200 Subject: CMake: Include InstallRequiredSystemLibraries normally This includes this module normally and enables changing InstallRequiredSystemLibraries independently of the minimum CMake version specified in the CMake's root CMakeLists.txt, when building CMake itself with CMake. --- CMakeCPack.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeCPack.cmake b/CMakeCPack.cmake index 3ac6030..bf6df9a 100644 --- a/CMakeCPack.cmake +++ b/CMakeCPack.cmake @@ -11,7 +11,7 @@ if(NOT DEFINED CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS) endif() if(CMake_INSTALL_DEPENDENCIES) - include(${CMake_SOURCE_DIR}/Modules/InstallRequiredSystemLibraries.cmake) + include(InstallRequiredSystemLibraries) endif() set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/LICENSE.txt") -- cgit v0.12