summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <6yearold@gmail.com>2015-10-25 13:56:47 (GMT)
committerPatrick Spendrin <ps_ml@gmx.de>2015-12-16 00:23:08 (GMT)
commit0928298a74087f1a42fc53f5eca35d0315d36c22 (patch)
tree8e3cc6b27a700aa39b097aba905d019ab9fb6623
parent2b4486a00de34cf0102997db8bb88462d4959de6 (diff)
Build okularpart as SHARED library when using MSVC, as using MODULE causes errors when linking to okularpart.dll.
REVIEW: 125792
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4aea44d..72ff3e8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -312,7 +312,7 @@ ki18n_wrap_ui(okularpart_SRCS
kconfig_add_kcfg_files(okularpart_SRCS conf/settings.kcfgc )
-add_library(okularpart MODULE ${okularpart_SRCS})
+add_library(okularpart SHARED ${okularpart_SRCS})
generate_export_header(okularpart BASE_NAME okularpart)
target_link_libraries(okularpart okularcore Qt5::Svg KF5::Parts ${MATH_LIB} Phonon::phonon4qt5 KF5::Solid KF5::KDELibs4Support KF5::Wallet KF5::Archive)