diff options
Diffstat (limited to 'Modules/FindKDE4.cmake')
-rw-r--r-- | Modules/FindKDE4.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FindKDE4.cmake b/Modules/FindKDE4.cmake index 94f29a6..baebe5a 100644 --- a/Modules/FindKDE4.cmake +++ b/Modules/FindKDE4.cmake @@ -12,8 +12,8 @@ FILE(TO_CMAKE_PATH "$ENV{KDEDIRS}" _KDEDIRS) -# First try to find kde-config -FIND_PROGRAM(KDE4_KDECONFIG_EXECUTABLE NAMES kde-config +# First try to find kde-config, for KDE4 soon to be renamed to kde4-config +FIND_PROGRAM(KDE4_KDECONFIG_EXECUTABLE NAMES kde4-config kde-config PATHS ${CMAKE_INSTALL_PREFIX}/bin ${_KDEDIRS} @@ -23,7 +23,7 @@ FIND_PROGRAM(KDE4_KDECONFIG_EXECUTABLE NAMES kde-config IF (NOT KDE4_KDECONFIG_EXECUTABLE) - FIND_PROGRAM(KDE4_KDECONFIG_EXECUTABLE NAMES kde-config ) + FIND_PROGRAM(KDE4_KDECONFIG_EXECUTABLE NAMES kde4-config kde-config ) ENDIF (NOT KDE4_KDECONFIG_EXECUTABLE) IF (KDE4_KDECONFIG_EXECUTABLE) |