summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin T. H. Sandsmark <martin.sandsmark@kde.org>2015-03-06 00:23:27 (GMT)
committerMartin T. H. Sandsmark <martin.sandsmark@kde.org>2015-03-06 00:23:27 (GMT)
commit587e25fa8f3c2bad3c1b76b596d82d9e24f839e1 (patch)
tree434c7c3de195ec26bb4a1397e3a0cee698e7a5bf
parentda040cbd46a52eccfecf3dcb2e5b711783222105 (diff)
Fix build of qml component.
remove qt4_automoc, and reference to KDE4_DEFINITIONS
-rw-r--r--active/components/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/active/components/CMakeLists.txt b/active/components/CMakeLists.txt
index 5f75fc8..74ad116 100644
--- a/active/components/CMakeLists.txt
+++ b/active/components/CMakeLists.txt
@@ -1,6 +1,6 @@
project(okular)
-add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
+add_definitions(${QT_DEFINITIONS})
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_BINARY_DIR}
@@ -17,8 +17,6 @@ set(okular_SRCS
thumbnailitem.cpp
)
-qt4_automoc(${okular_SRCS})
-
add_library(okularplugin SHARED ${okular_SRCS})
target_link_libraries(okularplugin
Qt5::Quick