sigil/sigil-fix_deprecated_macro.patch

13 lines
784 B
Diff

diff -Pdpru Sigil-0.9.9.orig/src/CMakeLists.txt Sigil-0.9.9/src/CMakeLists.txt
--- Sigil-0.9.9.orig/src/CMakeLists.txt 2017-12-21 17:59:01.000000000 +0100
+++ Sigil-0.9.9/src/CMakeLists.txt 2018-06-11 08:04:01.700642771 +0200
@@ -684,7 +684,7 @@ if (MSVC)
endif()
target_link_libraries( ${PROJECT_NAME} ${QT_MAIN} ${HUNSPELL_LIBRARIES} ${PCRE_LIBRARIES} ${GUMBO_LIBRARIES} ${MINIZIP_LIBRARIES} ${PYTHON_LIBRARIES} )
-qt5_use_modules(${PROJECT_NAME} Widgets Xml XmlPatterns PrintSupport Svg WebKit WebKitWidgets Network Concurrent)
+target_link_libraries(${PROJECT_NAME} Qt5::Widgets Qt5::Xml Qt5::XmlPatterns Qt5::PrintSupport Qt5::Svg Qt5::WebKit Qt5::WebKitWidgets Qt5::Network Qt5::Concurrent)
#############################################################################