diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-06-05 01:41:47 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-06-05 01:41:47 +0000 |
commit | 00db3e5a85410ec7cfba9b08c3976b5a217d5797 (patch) | |
tree | 3cfe53e189660bec3811b7134d933f86c7514b65 /modules/FindPlasma.cmake | |
parent | 373ce9910858ba84288e00b32d701a05d0b02e47 (diff) | |
download | extra-cmake-modules-00db3e5a85410ec7cfba9b08c3976b5a217d5797.tar.gz extra-cmake-modules-00db3e5a85410ec7cfba9b08c3976b5a217d5797.tar.bz2 |
-/usr/lib, /usr/local/lib, /usr/include, /usr/local/include don't have to be listed explicitely, they are searched automatically
-some more consisten lower casing and indentation
Alex
svn path=/trunk/KDE/kdelibs/; revision=671570
Diffstat (limited to 'modules/FindPlasma.cmake')
-rw-r--r-- | modules/FindPlasma.cmake | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/modules/FindPlasma.cmake b/modules/FindPlasma.cmake index 00e8a084..f256a453 100644 --- a/modules/FindPlasma.cmake +++ b/modules/FindPlasma.cmake @@ -14,18 +14,14 @@ if (PLASMA_INCLUDE_DIR) endif (PLASMA_INCLUDE_DIR) -FIND_PATH(PLASMA_INCLUDE_DIR NAMES plasma/kpanelapplet.h - PATHS - ${INCLUDE_INSTALL_DIR} - /usr/include - /usr/local/include +find_path(PLASMA_INCLUDE_DIR NAMES plasma/kpanelapplet.h + PATHS + ${INCLUDE_INSTALL_DIR} ) -FIND_LIBRARY(PLASMA_LIBRARIES NAMES plasma - PATHS - ${LIB_INSTALL_DIR} - /usr/lib - /usr/local/lib +find_library(PLASMA_LIBRARIES NAMES plasma + PATHS + ${LIB_INSTALL_DIR} ) if (PLASMA_LIBRARIES AND PLASMA_INCLUDE_DIR) set(PLASMA_FOUND TRUE) @@ -41,4 +37,4 @@ else (PLASMA_FOUND) endif (Plasma_FIND_REQUIRED) endif (PLASMA_FOUND) -MARK_AS_ADVANCED(PLASMA_INCLUDE_DIR PLASMA_LIBRARIES) +mark_as_advanced(PLASMA_INCLUDE_DIR PLASMA_LIBRARIES) |