diff options
Diffstat (limited to 'cmake/policies.cmake')
| -rw-r--r-- | cmake/policies.cmake | 6 |
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() |
