diff options
| author | Bryce Harrington <bryce@bryceharrington.org> | 2016-01-16 07:41:20 +0000 |
|---|---|---|
| committer | bryce <bryce@bryceharrington.org> | 2016-01-16 07:41:20 +0000 |
| commit | f27f57e67fc72a8ed716ed2158374cab978498c1 (patch) | |
| tree | 5a19c726151b00840acef478e2483c9e83b1756b | |
| parent | cmake: Add policy 9 - don't follow symlinks when using GLOB (diff) | |
| download | inkscape-f27f57e67fc72a8ed716ed2158374cab978498c1.tar.gz inkscape-f27f57e67fc72a8ed716ed2158374cab978498c1.zip | |
cmake: Don't check for cmake_policy
We already require cmake 2.8 as minimum, so can expect to always have
cmake_policy available.
(bzr r14587)
| -rw-r--r-- | CMakeLists.txt | 8 |
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) |
