
Add a policy to treat the `USE_FOLDERS` global property as ON by default if it is not set. Fixes: #21695
7 lines
184 B
CMake
7 lines
184 B
CMake
getProjectNames(projects)
|
|
|
|
list(FIND projects "CMakePredefinedTargets" found)
|
|
if(found EQUAL "-1")
|
|
error("CMakePredefinedTargets should be defined when CMP0143 is NEW!")
|
|
endif()
|