We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e41a0f7 + 633584b commit b95c79aCopy full SHA for b95c79a
CMakeLists.txt
@@ -14,12 +14,15 @@
14
PROJECT(libgit2 C)
15
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
16
CMAKE_POLICY(SET CMP0015 NEW)
17
-IF (POLICY CMP0051)
+IF(POLICY CMP0051)
18
CMAKE_POLICY(SET CMP0051 NEW)
19
ENDIF()
20
-IF (POLICY CMP0042)
+IF(POLICY CMP0042)
21
CMAKE_POLICY(SET CMP0042 NEW)
22
23
+IF(POLICY CMP0054)
24
+ CMAKE_POLICY(SET CMP0054 NEW)
25
+ENDIF()
26
27
# Add find modules to the path
28
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${libgit2_SOURCE_DIR}/cmake/Modules/")
0 commit comments