mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 05:39:02 +08:00
15 lines
391 B
Diff
15 lines
391 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 06f49a8..fdaaee7 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -69,6 +69,9 @@ IF(COMMAND cmake_policy)
|
||
|
if(POLICY CMP0074)
|
||
|
cmake_policy(SET CMP0074 NEW)
|
||
|
endif()
|
||
|
+ if (POLICY CMP0001)
|
||
|
+ cmake_policy(SET CMP0001 OLD)
|
||
|
+ endif()
|
||
|
ENDIF(COMMAND cmake_policy)
|
||
|
|
||
|
MARK_AS_ADVANCED(CMAKE_BACKWARDS_COMPATIBILITY)
|