[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/libkdeedu/plasma
From: Carsten Niehaus <cniehaus () gmx ! de>
Date: 2007-06-30 20:27:04
Message-ID: 1183235224.431283.21092.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 681923 by cniehaus:
Only add and compile the directory if libplasma is found...
M +7 -4 CMakeLists.txt
--- trunk/KDE/kdeedu/libkdeedu/plasma/CMakeLists.txt #681922:681923
@@ -1,4 +1,7 @@
-find_package(Plasma REQUIRED)
-include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
-add_subdirectory(engines)
-add_subdirectory(applets)
+find_package(Plasma)
+
+if(PLASMA_FOUND)
+ include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
+ add_subdirectory(engines)
+ add_subdirectory(applets)
+endif(PLASMA_FOUND)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic