summaryrefslogtreecommitdiff
blob: defd44f2651404e4414f523b3c659f09cc8cd7f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Standalone build of the plugin.

--- a/CMakeLists.txt	2018-01-04 21:38:30.921464554 +0100
+++ b/CMakeLists.txt	2018-01-04 21:38:30.890464324 +0100
@@ -1,5 +1,12 @@
+cmake_minimum_required(VERSION 2.8.6 FATAL_ERROR)
+
 project(qguiplatformplugin_kde)
 
+find_package(KDE4 4.9.4 REQUIRED)
+include(KDE4Defaults)
+add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
+include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
+
 set(kde_SOURCES  qguiplatformplugin_kde.cpp)
 qt4_generate_moc(qguiplatformplugin_kde.cpp ${CMAKE_CURRENT_BINARY_DIR}/qguiplatformplugin_kde.moc)