diff options
author | Patrick Steinhardt <ps@pks.im> | 2018-10-04 10:47:29 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2018-10-04 10:55:40 +0200 |
commit | 04d3853ff69c6d70d1bdcde7b1283677bcd27f10 (patch) | |
tree | 39b8282dd3b1c12bde985669106c7384a2b0e3e6 | |
parent | 1621a37dd124c6d060b2197eed01155538b0a118 (diff) | |
download | libgit2-04d3853ff69c6d70d1bdcde7b1283677bcd27f10.tar.gz |
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.
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c3f3e4081..37970c769 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,10 +14,10 @@ PROJECT(libgit2 C) CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11) CMAKE_POLICY(SET CMP0015 NEW) -IF (POLICY CMP0051) +IF(POLICY CMP0051) CMAKE_POLICY(SET CMP0051 NEW) ENDIF() -IF (POLICY CMP0042) +IF(POLICY CMP0042) CMAKE_POLICY(SET CMP0042 NEW) ENDIF() |