CMP0057: Remove support for OLD behavior

This commit is contained in:
Brad King
2024-12-09 20:08:29 -05:00
parent 2cf04f3034
commit c283aafe62
57 changed files with 12 additions and 215 deletions

View File

@@ -1300,9 +1300,6 @@ The custom step could then be triggered from the main build like so::
include(${CMAKE_CURRENT_LIST_DIR}/ExternalProject/shared_internal_commands.cmake)
cmake_policy(PUSH)
cmake_policy(SET CMP0057 NEW) # if() supports IN_LIST
define_property(DIRECTORY PROPERTY "EP_BASE" INHERITED)
define_property(DIRECTORY PROPERTY "EP_PREFIX" INHERITED)
define_property(DIRECTORY PROPERTY "EP_STEP_TARGETS" INHERITED)
@@ -3088,5 +3085,3 @@ function(ExternalProject_Add name)
#
_ep_add_test_command(${name})
endfunction()
cmake_policy(POP)