浏览代码

Merge topic 'patch-InstallRequiredSystemLibraries-min-version'

b510225b60 CMake: Include InstallRequiredSystemLibraries normally

Acked-by: Kitware Robot <[email protected]>
Merge-request: !11105
Brad King 1 月之前
父节点
当前提交
1eeb753ae8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      CMakeCPack.cmake

+ 1 - 1
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")