Skip to content

Commit 04d3853

Browse files
committed
cmake: remove spaces between IF and ( for policies
Our CMake coding style dictates that there should be no space between `IF` and its opening `(`. Adjust our policy statements to honor this style.
1 parent 1621a37 commit 04d3853

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
PROJECT(libgit2 C)
1515
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11)
1616
CMAKE_POLICY(SET CMP0015 NEW)
17-
IF (POLICY CMP0051)
17+
IF(POLICY CMP0051)
1818
CMAKE_POLICY(SET CMP0051 NEW)
1919
ENDIF()
20-
IF (POLICY CMP0042)
20+
IF(POLICY CMP0042)
2121
CMAKE_POLICY(SET CMP0042 NEW)
2222
ENDIF()
2323

0 commit comments

Comments
 (0)