[Uml-devel] branches/work/soc-umbrello-2011
Tomaz Martins dos Santos Canabrava
tcanabrava at kde.org
Sat May 14 19:58:31 UTC 2011
SVN commit 1231911 by tcanabrava:
Fix build outside of kdesdk
M +22 -1 CMakeLists.txt
--- branches/work/soc-umbrello-2011/CMakeLists.txt #1231910:1231911
@@ -1,5 +1,4 @@
project(umbrello)
-project(Rocs)
cmake_minimum_required(VERSION 2.6.0)
set(KDE_MIN_VERSION "4.3")
@@ -16,5 +15,27 @@
kde4_no_enable_final( umbrello )
+set(CMAKE_REQUIRED_DEFINITIONS ${_KDE4_PLATFORM_DEFINITIONS} -DQT_STRICT_ITERATORS)
+
+find_package(LibXslt REQUIRED)
+find_package(LibXml2 REQUIRED)
+
+set(Boost_MINIMUM_VERSION 1.33.1)
+find_package(Boost REQUIRED)
+
+add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -DQT3_SUPPORT)
+include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES} )
+
+kde4_no_enable_final(umbrello)
+
add_subdirectory( umbrello )
+# do we build the unit tests
+IF(KDE4_BUILD_TESTS)
+ ENABLE_TESTING()
+ add_subdirectory(unittests)
+ENDIF(KDE4_BUILD_TESTS)
+
+
+add_subdirectory( umbrello )
+
More information about the umbrello-devel
mailing list