mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
Add a policy to treat the `USE_FOLDERS` global property as ON by default if it is not set. Fixes: #21695
7 lines
194 B
CMake
7 lines
194 B
CMake
getProjectNames(projects)
|
|
|
|
list(FIND projects "CMakePredefinedTargets" found)
|
|
if(NOT (found EQUAL "-1"))
|
|
error("CMakePredefinedTargets should not be defined when CMP0143 is OLD!")
|
|
endif()
|