The source project of this merge request has been removed.
USE_FOLDERS: Treat as on by default
Add a policy to treat the USE_FOLDERS
global property as ON by default
if it is not set.
Currently lots of projects enable this global property by default:
- https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/54000691e007a33d6aa7550a732559c22e969303/CMakeLists.txt#L124
- https://github.com/glfw/glfw/blob/575d2971d414ef9f7a47899f44664168537d26c8/CMakeLists.txt#L19
- https://github.com/GPUOpen-Drivers/pal/blob/ae55b19b7553bf204b4945de9c11c5b05bc0e167/shared/devdriver/cmake/DevDriver.cmake#L59
- etc.
This would be a nice quality of life for devs who use CMake.
Fixes: #21695 (closed)