From fda274b64c61ae5a65153af082c40a454f696d1c Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Tue, 24 Jul 2007 15:02:12 +0000 Subject: PLASMA_LIBS not PLASMA_LIBRARIES svn path=/trunk/KDE/kdelibs/; revision=691895 --- modules/FindPlasma.cmake | 14 +++++++------- 1 file 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) -- cgit v1.2.1