diff options
author | Alexander Neundorf <neundorf@kde.org> | 2006-07-04 12:38:47 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2006-07-04 12:38:47 (GMT) |
commit | 205635dcd5b65163859297547780c49cd4260527 (patch) | |
tree | a07ed2a976eba766af044d618e77684618cff0c5 /Modules/FindKDE4.cmake | |
parent | dc727d79920184308ce43d38dcf98b5fc242f290 (diff) | |
download | CMake-205635dcd5b65163859297547780c49cd4260527.zip CMake-205635dcd5b65163859297547780c49cd4260527.tar.gz CMake-205635dcd5b65163859297547780c49cd4260527.tar.bz2 |
ENH: prefer kde4-config over kde-config, since for KDE 4 kde-config will be
renamed to kde-config, and so cmake has to prefer this one over the old
version
Alex
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) |