diff options
| author | Bryce Harrington <bryce@bryceharrington.org> | 2016-01-16 07:38:06 +0000 |
|---|---|---|
| committer | bryce <bryce@bryceharrington.org> | 2016-01-16 07:38:06 +0000 |
| commit | 78a7f320146df760a8aae19f98c69f1f30fba1e8 (patch) | |
| tree | cf863f9d7ea281103ba6c79e418eefbc9a3c4011 | |
| parent | cmake: Fix out of tree builds (diff) | |
| download | inkscape-78a7f320146df760a8aae19f98c69f1f30fba1e8.tar.gz inkscape-78a7f320146df760a8aae19f98c69f1f30fba1e8.zip | |
cmake: Add policy 9 - don't follow symlinks when using GLOB
(bzr r14586)
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d9799582..9cda026af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,8 +19,9 @@ set(PROJECT_NAME inkscape) set(CMAKE_INCLUDE_CURRENT_DIR TRUE) if(COMMAND cmake_policy) - cmake_policy(SET CMP0003 NEW) - cmake_policy(SET CMP0005 NEW) # propper define quoting + 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() # workaround for omission in cmake 2.8.4's GNU.cmake, fixed in 2.8.5 |
