1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

CMake: Include CPackIFWConfigureFile normally

As minimum CMake version required to build CMake itself is set to 3.13,
including this module from the source directory isn't needed anymore,
as it was added in CMake 3.8. This also enables changing module code
as done in other modules - not dependent on CMake build system itself.
This commit is contained in:
Peter Kokot
2025-08-23 11:48:36 +02:00
parent a5c0240d1a
commit 7db6ff4863
2 changed files with 1 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ if(NOT DEFINED CPACK_SYSTEM_NAME)
endif()
# Command for configure IFW script templates
include(${CMake_SOURCE_DIR}/Modules/CPackIFWConfigureFile.cmake)
include(CPackIFWConfigureFile)
# Advanced IFW configuration
set(_cpifwrc CPACK_IFW_COMPONENT_GROUP_CMAKE_)

View File

@@ -36,10 +36,6 @@ The module defines the following commands:
#]=======================================================================]
# NOTE: This file used to himself packaging via CPack IFW generator and
# should be compatible with minimal CMake version defined in
# ../CMakeLists.txt file.
if(NOT DEFINED CPackIFWConfigureFile_CMake_INCLUDED)
set(CPackIFWConfigureFile_CMake_INCLUDED 1)