From 00db3e5a85410ec7cfba9b08c3976b5a217d5797 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Tue, 5 Jun 2007 01:41:47 +0000 Subject: -/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 --- modules/FindPlasma.cmake | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'modules/FindPlasma.cmake') 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) -- cgit v1.2.1