[cmake] set some policies

This commit is contained in:
Andrey Filipenkov
2025-01-08 15:22:21 +03:00
parent 6323e7b4da
commit 4e4684cedf
+7
View File
@@ -25,6 +25,13 @@ if(APPLE)
endif()
endif()
if(POLICY CMP0142)
cmake_policy(SET CMP0142 NEW)
endif()
if(POLICY CMP0177)
cmake_policy(SET CMP0177 NEW)
endif()
############################################
# User-provided options #
############################################