diff options
| author | Christoph Berg <myon@debian.org> | 2025-01-09 22:24:27 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-01-09 22:24:27 +0100 |
| commit | 65eedd75837be0e609489d8845040141be6058e6 (patch) | |
| tree | ab44de49c0929a4a2911478754732e0cca6a7348 /debian/patches/0013-qcustomplot-link.patch | |
| parent | 98c02f78b26811ba5d9962ba27ec24cacf82bb22 (diff) | |
New upstream version 2.7.0~rc8+repack.debian/2.7.0_rc8+repack-1
Remove CR from all patches, upstream switched.
Diffstat (limited to 'debian/patches/0013-qcustomplot-link.patch')
| -rw-r--r-- | debian/patches/0013-qcustomplot-link.patch | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/debian/patches/0013-qcustomplot-link.patch b/debian/patches/0013-qcustomplot-link.patch index 5ea3f98a..024a3969 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 @@ -696,17 +696,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
+ 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 @@ -1362,16 +1357,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)
+ # 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) |
