summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9cda026af..cc5dbfe13 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,11 +18,9 @@ set(INKSCAPE_VERSION 0.91+devel)
set(PROJECT_NAME inkscape)
set(CMAKE_INCLUDE_CURRENT_DIR TRUE)
-if(COMMAND cmake_policy)
- cmake_policy(SET CMP0003 NEW) # don't be prolific with library paths
- cmake_policy(SET CMP0005 NEW) # proper define quoting
- cmake_policy(SET CMP0009 NEW) # don't follow symbolic links when using GLOB
-endif()
+cmake_policy(SET CMP0003 NEW) # don't be prolific with library paths
+cmake_policy(SET CMP0005 NEW) # proper define quoting
+cmake_policy(SET CMP0009 NEW) # don't follow symbolic links when using GLOB
# workaround for omission in cmake 2.8.4's GNU.cmake, fixed in 2.8.5
if(CMAKE_COMPILER_IS_GNUCC)