diff options
Diffstat (limited to 'debian/patches/0013-qcustomplot-link.patch')
| -rw-r--r-- | debian/patches/0013-qcustomplot-link.patch | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/debian/patches/0013-qcustomplot-link.patch b/debian/patches/0013-qcustomplot-link.patch index 467b3476..43523dff 100644 --- a/debian/patches/0013-qcustomplot-link.patch +++ b/debian/patches/0013-qcustomplot-link.patch @@ -1,38 +1,38 @@ --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -682,17 +682,12 @@ - UDPExamples/qss/default.qss - ) - --set (qcp_CXXSRCS -- qcustomplot-source/qcustomplot.cpp -- ) -- - set (all_CXXSRCS - ${wsjt_CXXSRCS} - ${fort_qt_CXXSRCS} - ${wsjt_qt_CXXSRCS} - ${wsjt_qtmm_CXXSRCS} - ${wsjtx_CXXSRCS} -- ${qcp_CXXSRCS} - ) - - set (all_C_and_CXXSRCS -@@ -1332,16 +1327,11 @@ - # targets dependent on Qt - # - --# build a library for the QCustomPlot widget --add_library (qcp STATIC ${qcp_CXXSRCS}) --target_include_directories (qcp PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/qcustomplot-source>) --target_link_libraries (qcp Qt5::Widgets Qt5::PrintSupport) -- - # build a library of package Qt functionality - add_library (wsjt_qt STATIC ${wsjt_qt_CXXSRCS} ${wsjt_qt_GENUISRCS} ${GENAXSRCS}) - # set wsjtx_udp exports to static variants - target_compile_definitions (wsjt_qt PUBLIC UDP_STATIC_DEFINE) --target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log qcp Qt5::Widgets Qt5::Network Qt5::Sql) -+target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log qcustomplot Qt5::Widgets Qt5::Network Qt5::Sql) - if (WIN32) - target_link_libraries (wsjt_qt Qt5::AxContainer Qt5::AxBase) - endif (WIN32) +@@ -688,17 +688,12 @@ set (message_aggregator_STYLESHEETS + UDPExamples/qss/default.qss
+ )
+
+-set (qcp_CXXSRCS
+- qcustomplot-source/qcustomplot.cpp
+- )
+-
+ set (all_CXXSRCS
+ ${wsjt_CXXSRCS}
+ ${fort_qt_CXXSRCS}
+ ${wsjt_qt_CXXSRCS}
+ ${wsjt_qtmm_CXXSRCS}
+ ${wsjtx_CXXSRCS}
+- ${qcp_CXXSRCS}
+ )
+
+ set (all_C_and_CXXSRCS
+@@ -1342,16 +1337,11 @@ endif (WIN32) + # targets dependent on Qt
+ #
+
+-# build a library for the QCustomPlot widget
+-add_library (qcp STATIC ${qcp_CXXSRCS})
+-target_include_directories (qcp PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/qcustomplot-source>)
+-target_link_libraries (qcp Qt5::Widgets Qt5::PrintSupport)
+-
+ # build a library of package Qt functionality
+ add_library (wsjt_qt STATIC ${wsjt_qt_CXXSRCS} ${wsjt_qt_GENUISRCS} ${GENAXSRCS})
+ # set wsjtx_udp exports to static variants
+ target_compile_definitions (wsjt_qt PUBLIC UDP_STATIC_DEFINE)
+-target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log qcp Qt5::Widgets Qt5::Network Qt5::Sql)
++target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log qcustomplot Qt5::Widgets Qt5::Network Qt5::Sql)
+ if (WIN32)
+ target_link_libraries (wsjt_qt Qt5::AxContainer Qt5::AxBase)
+ endif (WIN32)
|
