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:
@@ -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_)
|
||||
|
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user