From a62d50ec56087bc6364c2e6c097b312167839957 Mon Sep 17 00:00:00 2001 From: Christian Pfeiffer Date: Mon, 20 Nov 2017 16:29:25 +0100 Subject: 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. --- Modules/FindKDE3.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Modules/FindKDE3.cmake') 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 -- cgit v1.2.1