[Uml-devel] KDE/kdesdk

Laurent Montel montel at kde.org
Wed Aug 9 09:11:27 UTC 2006


SVN commit 571327 by mlaurent:

Fix search macro for umbrello
Remove not necessary files


 M  +5 -2      CMakeLists.txt  
 D             umbrello/configure.in.in  


--- trunk/KDE/kdesdk/CMakeLists.txt #571326:571327
@@ -14,6 +14,9 @@
 endif (APPLE)
 find_package(KdepimLibs REQUIRED)
 macro_optional_find_package(SVN)
+macro_optional_find_package(LibXslt)
+macro_optional_find_package(LibXml2)
+
 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -DQT3_SUPPORT -DHAVE_CONFIG_H=1)
 link_directories (${KDE4_LIB_DIR})
 include_directories (${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
@@ -52,9 +55,9 @@
 message(STATUS "remember to port scheck (check style)")
 #add_subdirectory(scheck)
 add_subdirectory(scripts)
-if(HAVE_FLEXLEXER_H)
+if(HAVE_FLEXLEXER_H AND LIBXSLT_FOUND AND LIBXML2_FOUND)
    add_subdirectory(umbrello)
-endif(HAVE_FLEXLEXER_H)	
+endif(HAVE_FLEXLEXER_H AND LIBXSLT_FOUND AND LIBXML2_FOUND)	
 add_subdirectory( cmake )
 
 




More information about the umbrello-devel mailing list