summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Martin <notmart@gmail.com>2015-07-21 18:01:40 (GMT)
committerMarco Martin <notmart@gmail.com>2015-07-21 18:01:40 (GMT)
commit991e11e81b9d3d48f45c021527b5f9bd0b38dffb (patch)
treeb536454c7c8ac1da74ac3a22f07f2ad939fbd751
parent43e6d63e9621c618f77367d3d6bd3828db42c118 (diff)
generate settings.cpp from the kcfgc file
-rw-r--r--active/components/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/active/components/CMakeLists.txt b/active/components/CMakeLists.txt
index 8e83a43..336fb9d 100644
--- a/active/components/CMakeLists.txt
+++ b/active/components/CMakeLists.txt
@@ -13,12 +13,13 @@ set(okular_SRCS
${CMAKE_SOURCE_DIR}/ui/guiutils.cpp
${CMAKE_SOURCE_DIR}/ui/tocmodel.cpp
${CMAKE_SOURCE_DIR}/ui/pagepainter.cpp
- ${CMAKE_BINARY_DIR}/settings.cpp
pageitem.cpp
documentitem.cpp
thumbnailitem.cpp
)
+kconfig_add_kcfg_files(okular_SRCS ${CMAKE_SOURCE_DIR}/conf/settings.kcfgc )
+
add_library(okularplugin SHARED ${okular_SRCS})
target_link_libraries(okularplugin
Qt5::Quick