[libkdeedu/frameworks] keduvocdocument: Ensure cmake is properly configured

Aleix Pol aleixpol at kde.org
Thu Jun 26 22:20:41 UTC 2014


Git commit 012b32b8d887fd12d70d1335ece5d43223e68a89 by Aleix Pol.
Committed on 26/06/2014 at 22:18.
Pushed by apol into branch 'frameworks'.

Ensure cmake is properly configured

KDECompilerSettings and KDECMakeSettings are required for projects
to be built properly. Otherwise, sharedkvtmlfilestest wouldn't compile,
because the mocs file weren't being generated.

CCMAIL: kde-edu at kde.org

M  +3    -1    keduvocdocument/CMakeLists.txt

http://commits.kde.org/libkdeedu/012b32b8d887fd12d70d1335ece5d43223e68a89

diff --git a/keduvocdocument/CMakeLists.txt b/keduvocdocument/CMakeLists.txt
index d2a51b5..d6d8b2a 100644
--- a/keduvocdocument/CMakeLists.txt
+++ b/keduvocdocument/CMakeLists.txt
@@ -6,8 +6,10 @@ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
 
 find_package(Qt5 5.2 REQUIRED NO_MODULE COMPONENTS Widgets Xml)
 find_package(KF5 4.96.0 REQUIRED NO_MODULE COMPONENTS KDE4Support I18n Archive KIO)
-    
+
 include(KDEInstallDirs)
+include(KDECompilerSettings)
+include(KDECMakeSettings)
 
 add_subdirectory(autotests)
 add_subdirectory(tests)


More information about the kde-edu mailing list