[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [okular/frameworks] /: Build okularpart as SHARED library when using MSVC, as using MODULE causes er
From:       Patrick Spendrin <ps_ml () gmx ! de>
Date:       2015-12-16 0:23:33
Message-ID: E1a8zsT-0001aQ-F4 () scm ! kde ! org
[Download RAW message or body]

Git commit 0928298a74087f1a42fc53f5eca35d0315d36c22 by Patrick Spendrin, on=
 behalf of Gleb Popov.
Committed on 16/12/2015 at 00:23.
Pushed by sengels into branch 'frameworks'.

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

REVIEW: 125792

M  +1    -1    CMakeLists.txt

http://commits.kde.org/okular/0928298a74087f1a42fc53f5eca35d0315d36c22

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::Archi=
ve)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic