Commit 0928298a authored by Gleb Popov's avatar Gleb Popov 💬 Committed by Patrick Spendrin
Browse files

Build okularpart as SHARED library when using MSVC, as using MODULE causes...

Build okularpart as SHARED library when using MSVC, as using MODULE causes errors when linking to okularpart.dll.

REVIEW: 125792
parent 2b4486a0
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment