cmake - remove unused CMP0074 policy

it's automatically applied since cmake 3.12
This commit is contained in:
Andrej730
2025-12-04 12:13:01 +05:00
parent 6a0caa7989
commit 91f19f7a54
+2 -3
View File
@@ -5,9 +5,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
project (svgfill)
cmake_policy(SET CMP0074 NEW) # find_package() uses <PackageName>_ROOT variables.
if (POLICY CMP0144)
cmake_policy(SET CMP0144 NEW) # find_package() uses upper-case <PACKAGENAME>_ROOT variables.
if (POLICY CMP0144) # 3.27
cmake_policy(SET CMP0144 NEW) # find_package() uses upper-case <PACKAGENAME>_ROOT variables.
endif()
if(POLICY CMP0167) # 3.30 find_package(Boost) to use BoostConfig instead of FindBoost.
cmake_policy(SET CMP0167 OLD)