summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSimon Wells <swel024@gmail.com>2017-11-04 23:01:18 +0000
committerSimon Wells <swel024@gmail.com>2017-11-04 23:01:18 +0000
commit3583bc20741215652e2aaa02b1b0eb8bf363ca7d (patch)
treeb730c27f18e3caa2ab55c82be689939ec2225b42 /CMakeLists.txt
parentMake color selector visible hover white backgrounds if the selected color is ... (diff)
downloadinkscape-3583bc20741215652e2aaa02b1b0eb8bf363ca7d.tar.gz
inkscape-3583bc20741215652e2aaa02b1b0eb8bf363ca7d.zip
Added setting to make pkg_config cmake_prefix_path variables
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a1a68d4e6..35d443ef4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,6 +47,9 @@ 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
+# this can be removed if/when cmake 3.1 is made the minimum required version
+set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH ON)
+
# workaround for omission in cmake 2.8.4's GNU.cmake, fixed in 2.8.5
if(CMAKE_COMPILER_IS_GNUCC)
if(NOT DARWIN)