From kde-commits Wed Dec 16 00:27:33 2015 From: Patrick Spendrin Date: Wed, 16 Dec 2015 00:27:33 +0000 To: kde-commits Subject: [okular/frameworks] generators: Fix compilation of fax and comicbook generators with MSVC 2015. Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=145022566319926 Git commit 355d592bfb6a817ce537f1b39a82ba7b0c4e99ca by Patrick Spendrin, on= behalf of Gleb Popov. Committed on 16/12/2015 at 00:24. Pushed by sengels into branch 'frameworks'. Fix compilation of fax and comicbook generators with MSVC 2015. REVIEW: 125791 M +2 -2 generators/comicbook/CMakeLists.txt M +2 -0 generators/fax/faxexpand.h http://commits.kde.org/okular/355d592bfb6a817ce537f1b39a82ba7b0c4e99ca diff --git a/generators/comicbook/CMakeLists.txt b/generators/comicbook/CMa= keLists.txt index deed292..684613b 100644 --- a/generators/comicbook/CMakeLists.txt +++ b/generators/comicbook/CMakeLists.txt @@ -16,10 +16,10 @@ set( okularGenerator_comicbook_PART_SRCS = add_library(okularGenerator_comicbook MODULE ${okularGenerator_comicbook_P= ART_SRCS}) = -target_link_libraries(okularGenerator_comicbook okularcore KF5::KIOCore) +target_link_libraries(okularGenerator_comicbook okularcore KF5::KIOCore K= F5::I18n KF5::Archive KF5::KDELibs4Support) if (UNIX) find_package(KF5 REQUIRED Pty) - target_link_libraries(okularGenerator_comicbook KF5::Pty KF5::I18n KF5:= :Archive KF5::KDELibs4Support) + target_link_libraries(okularGenerator_comicbook KF5::Pty) endif (UNIX) = install(TARGETS okularGenerator_comicbook DESTINATION ${KDE_INSTALL_PLUGIN= DIR}) diff --git a/generators/fax/faxexpand.h b/generators/fax/faxexpand.h index f062974..21f5bbd 100644 --- a/generators/fax/faxexpand.h +++ b/generators/fax/faxexpand.h @@ -22,7 +22,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston= , MA 02110-1301, USA. * #define _faxexpand_h_ = #include +#ifndef Q_OS_WIN #include +#endif = #include =20