diff options
author | Aaron J. Seigo <aseigo@kde.org> | 2007-07-24 15:02:12 +0000 |
---|---|---|
committer | Aaron J. Seigo <aseigo@kde.org> | 2007-07-24 15:02:12 +0000 |
commit | fda274b64c61ae5a65153af082c40a454f696d1c (patch) | |
tree | 1e7c15eaa89deb17bedd0ef3efac5a5ba08cbea4 | |
parent | 8a35b80aa3013bdf6b1d717c7357e14de7c44da6 (diff) | |
download | extra-cmake-modules-fda274b64c61ae5a65153af082c40a454f696d1c.tar.gz extra-cmake-modules-fda274b64c61ae5a65153af082c40a454f696d1c.tar.bz2 |
PLASMA_LIBS not PLASMA_LIBRARIES
svn path=/trunk/KDE/kdelibs/; revision=691895
-rw-r--r-- | modules/FindPlasma.cmake | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/FindPlasma.cmake b/modules/FindPlasma.cmake index 8aa0d1c9..469779ce 100644 --- a/modules/FindPlasma.cmake +++ b/modules/FindPlasma.cmake @@ -8,10 +8,10 @@ # For details see the accompanying COPYING-CMAKE-SCRIPTS file. -if (PLASMA_INCLUDE_DIR AND PLASMA_LIBRARIES) +if (PLASMA_INCLUDE_DIR AND PLASMA_LIBS) # Already in cache, be silent set(Plasma_FIND_QUIETLY TRUE) -endif (PLASMA_INCLUDE_DIR AND PLASMA_LIBRARIES) +endif (PLASMA_INCLUDE_DIR AND PLASMA_LIBS) find_path(PLASMA_INCLUDE_DIR NAMES plasma/plasma.h @@ -19,17 +19,17 @@ find_path(PLASMA_INCLUDE_DIR NAMES plasma/plasma.h ${INCLUDE_INSTALL_DIR} ) -find_library(PLASMA_LIBRARIES NAMES plasma +find_library(PLASMA_LIBS NAMES plasma PATHS ${LIB_INSTALL_DIR} ) -if (PLASMA_LIBRARIES AND PLASMA_INCLUDE_DIR) +if (PLASMA_LIBS AND PLASMA_INCLUDE_DIR) set(PLASMA_FOUND TRUE) -endif (PLASMA_LIBRARIES AND PLASMA_INCLUDE_DIR) +endif (PLASMA_LIBS AND PLASMA_INCLUDE_DIR) if (PLASMA_FOUND) if (NOT Plasma_FIND_QUIETLY) - message(STATUS "Found Plasma: ${PLASMA_LIBRARIES}") + message(STATUS "Found Plasma: ${PLASMA_LIBS}") endif (NOT Plasma_FIND_QUIETLY) else (PLASMA_FOUND) if (Plasma_FIND_REQUIRED) @@ -37,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_LIBS) |