summaryrefslogtreecommitdiff
path: root/Modules/FindKDE3.cmake
diff options
context:
space:
mode:
authorChristian Pfeiffer <cpfeiffer@live.de>2017-11-20 16:29:25 +0100
committerChristian Pfeiffer <cpfeiffer@live.de>2017-11-20 16:29:25 +0100
commita62d50ec56087bc6364c2e6c097b312167839957 (patch)
treeccd039133f878c223a4debd63e5b369ab87dc214 /Modules/FindKDE3.cmake
parentfd56d6a8e637750cbf2e038bde12164962c66bc4 (diff)
downloadcmake-a62d50ec56087bc6364c2e6c097b312167839957.tar.gz
Modules: Replace coded PATHS with PATH_SUFFIXES
Some modules assume that `/usr` and `/usr/local` are the only `CMAKE_PREFIX_PATH` entries and explicitly enumerate all paths instead of using `PATH_SUFFIXES` and relying on the dynamic set of prefix paths. This commit attempts to rectify that behavior.
Diffstat (limited to 'Modules/FindKDE3.cmake')
-rw-r--r--Modules/FindKDE3.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/FindKDE3.cmake b/Modules/FindKDE3.cmake
index 03216a5c11..daf681863b 100644
--- a/Modules/FindKDE3.cmake
+++ b/Modules/FindKDE3.cmake
@@ -200,8 +200,7 @@ find_path(KDE3_INCLUDE_DIR kpassdlg.h
PATHS
/opt/kde3/include
/opt/kde/include
- /usr/include/kde
- /usr/local/include/kde
+ PATH_SUFFIXES include/kde
)
#now the KDE library directory