[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/devtools/kdevelop4-extra-plugins/cppunit
From:       David Faure <faure () kde ! org>
Date:       2012-01-02 10:35:15
Message-ID: 20120102103516.03346AC7DB () svn ! kde ! org
[Download RAW message or body]

SVN commit 1271067 by dfaure:

Don't abort compilation of devtools if cppunit can't be found, just skip that dir.


 M  +6 -1      CMakeLists.txt  


--- trunk/playground/devtools/kdevelop4-extra-plugins/cppunit/CMakeLists.txt #1271066:1271067
@@ -3,8 +3,11 @@
 
 find_package(KDE4 REQUIRED)
 find_package(KDevPlatform REQUIRED)
-find_package(CppUnit REQUIRED)
+find_package(CppUnit)
+macro_log_feature(CPPUNIT_FOUND "CppUnit" "KDevelop4 extra plugin cppunit" "http://TODO" FALSE "" "")
 
+if (CPPUNIT_FOUND)
+
 include_directories(
     ${KDEVPLATFORM_INCLUDE_DIR}
     ${KDE4_INCLUDES}
@@ -68,3 +71,5 @@
 install( FILES kdevcppunit.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
 install( FILES kdevcppunit.rc DESTINATION ${DATA_INSTALL_DIR}/kdevcppunit )
 install( FILES cppunitwrapper.h DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/veritas/ )
+
+endif()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic