diff options
| author | Iain R. Learmonth <irl@debian.org> | 2015-10-18 20:53:55 +0100 |
|---|---|---|
| committer | Iain R. Learmonth <irl@debian.org> | 2015-10-18 22:44:16 +0100 |
| commit | 71c717edc92fa771c857b3c2e5ed65f523f68f90 (patch) | |
| tree | ef015e22ed8d63824fff840a50838af5ce52011a /debian/patches/0006-cmake-modifications.patch | |
| parent | 6f1cfad81fbaf73773298a7c1f30e56a1cfdc36d (diff) | |
Updates for Qt 5
Diffstat (limited to 'debian/patches/0006-cmake-modifications.patch')
| -rw-r--r-- | debian/patches/0006-cmake-modifications.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/0006-cmake-modifications.patch b/debian/patches/0006-cmake-modifications.patch new file mode 100644 index 00000000..55dab348 --- /dev/null +++ b/debian/patches/0006-cmake-modifications.patch @@ -0,0 +1,32 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -697,6 +697,7 @@ + # Widgets finds its own dependencies. + find_package (Qt5Widgets 5 REQUIRED) + find_package (Qt5Multimedia 5 REQUIRED) ++find_package (Qt5SerialPort 5 REQUIRED) + + if (WIN32) + add_definitions (-DQT_NEEDS_QTMAIN) +@@ -923,8 +924,8 @@ + add_dependencies (wsjtx manpages) + endif (NOT WSJT_SKIP_MANPAGES) + if (NOT APPLE) +- add_subdirectory (debian) +- add_dependencies (wsjtx debian) ++ #add_subdirectory (debian) ++ #add_dependencies (wsjtx debian) + endif (NOT APPLE) + endif (UNIX) + +--- a/wsjtx.pro ++++ b/wsjtx.pro +@@ -13,7 +13,7 @@ + VERSION = "Not for Release" + TEMPLATE = app + DEFINES = QT5 +-QMAKE_CXXFLAGS += -std=c++11 ++QMAKE_CXXFLAGS += -std=c++11 $$system(pkg-config --cflags-only-I Qt5SerialPort) + DEFINES += PROJECT_MANUAL="'\"http://www.physics.princeton.edu/pulsar/K1JT/wsjtx-doc/wsjtx-main.html\"'" + + isEmpty (DESTDIR) { |
