SVN commit 953735 by apaku: Make Boost optional and disable the classbrowser if its not found. M +5 -1 CMakeLists.txt M +0 -2 classbrowser/CMakeLists.txt --- trunk/KDE/kdevplatform/plugins/CMakeLists.txt #953734:953735 @@ -13,8 +13,12 @@ add_subdirectory(execute) add_subdirectory(sourceformatter) add_subdirectory(documentswitcher) -add_subdirectory(classbrowser) +macro_optional_find_package( Boost 1.35.0 ) +if(Boost_FOUND) + add_subdirectory(classbrowser) +endif(Boost_FOUND) + macro_optional_find_package(SubversionLibrary) macro_log_feature( SUBVERSION_FOUND "Subversion" "Support for Subversion integration" "http://subversion.tigris.org" FALSE "1.3.0" "The subversion libraries are needed for the Subversion support" ) --- trunk/KDE/kdevplatform/plugins/classbrowser/CMakeLists.txt #953734:953735 @@ -1,6 +1,4 @@ -find_package(Boost 1.35.0 REQUIRED) - include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}