cmake - fix CMP0167 warning

CMP0167 is removing FindBoost module, but it's only introduced in 3.30, switching to OLD for now.
This commit is contained in:
Andrej730
2025-08-13 11:58:50 +05:00
parent 89c54291b0
commit 6c0e2ce323
+1
View File
@@ -41,6 +41,7 @@ cmake_policy(SET CMP0086 NEW)
if (POLICY CMP0144)
cmake_policy(SET CMP0144 NEW) # find_package() uses upper-case <PACKAGENAME>_ROOT variables.
endif()
cmake_policy(SET CMP0167 OLD)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release")