[kdelibs/frameworks] /: Build with CMake 2.8.7.

Stephen Kelly steveire at gmail.com
Thu Dec 22 00:52:17 UTC 2011


Git commit d6c5b4e3ed5dca882e82494ff5b34d003d523810 by Stephen Kelly.
Committed on 22/12/2011 at 01:51.
Pushed by skelly into branch 'frameworks'.

Build with CMake 2.8.7.

CCMAIL: kde-frameworks-devel at kde.org

M  +7    -0    CMakeLists.txt

http://commits.kde.org/kdelibs/d6c5b4e3ed5dca882e82494ff5b34d003d523810

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ad97626..d0c359e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -46,6 +46,13 @@ endif (KHTML_BUILD_TESTREGRESSION)
 
 option(STATIC_LIBRARY "Build kdelibs as static libraries." FALSE)
 
+# This option should be removed, or moved down as far as possible.
+# That means porting the existing frameworks to the CMake automoc
+# feature. Porting is mostly removing explicit moc includes, and
+# leaving the ones which are truly needed (ie, if you remove
+# them, the build fails).
+set(CMAKE_AUTOMOC_RELAXED_MODE ON)
+
 add_subdirectory( libinqt5 )
 add_subdirectory( libqtmimetypes )
 add_subdirectory( tier1 )


More information about the Kde-frameworks-devel mailing list