aboutsummaryrefslogtreecommitdiff
path: root/cmake/policies.cmake
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2019-03-18 23:58:41 +1300
committerMike Taves <mwtoews@gmail.com>2019-03-19 20:04:48 +1300
commit2622d3851573cd44fc7b36bfd15f07215f434d4b (patch)
tree0bd797dc0c66c52b494c7b5dfe7b45f32fecc459 /cmake/policies.cmake
parent8cf492acb3840eff5064a2da421c143e1fd1646c (diff)
downloadPROJ-2622d3851573cd44fc7b36bfd15f07215f434d4b.tar.gz
PROJ-2622d3851573cd44fc7b36bfd15f07215f434d4b.zip
Normalize CMake with cmakelint, 2-space indent
Diffstat (limited to 'cmake/policies.cmake')
-rw-r--r--cmake/policies.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/policies.cmake b/cmake/policies.cmake
index e1bfd53b..35d0545c 100644
--- a/cmake/policies.cmake
+++ b/cmake/policies.cmake
@@ -1,4 +1,4 @@
-if (CMAKE_MAJOR_VERSION GREATER 2)
- cmake_policy(SET CMP0042 NEW) # osx rpath
- cmake_policy(SET CMP0011 NEW) # policy setting
+if(CMAKE_MAJOR_VERSION GREATER 2)
+ cmake_policy(SET CMP0042 NEW) # osx rpath
+ cmake_policy(SET CMP0011 NEW) # policy setting
endif()