diff options
author | Adriaan de Groot <adridg@FreeBSD.org> | 2020-11-20 21:16:19 +0000 |
---|---|---|
committer | Adriaan de Groot <adridg@FreeBSD.org> | 2020-11-20 21:16:19 +0000 |
commit | b480d075d30573111295ad0e28592543154c290a (patch) | |
tree | 92d09bdafc60777c9233c63301d1c3ac26063c56 /net-im/quaternion/files/patch-CMakeLists.txt | |
parent | 3bf4a03a7bbdfcede0cb835188b924939d242b92 (diff) | |
download | freebsd-ports-b480d075d30573111295ad0e28592543154c290a.zip |
Update net-im/quaternion to latest upstream
Release notes:
https://github.com/quotient-im/Quaternion/releases/tag/0.0.9.5-beta1
Quaternion is the reference implementation of a Matrix client using
libQuotient; now that the latest Quotient is in-tree, switch the
reference consumer as well.
Diffstat (limited to 'net-im/quaternion/files/patch-CMakeLists.txt')
-rw-r--r-- | net-im/quaternion/files/patch-CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-im/quaternion/files/patch-CMakeLists.txt b/net-im/quaternion/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..92b7722fed95 --- /dev/null +++ b/net-im/quaternion/files/patch-CMakeLists.txt @@ -0,0 +1,15 @@ +--- CMakeLists.txt.orig 2020-11-20 20:57:10 UTC ++++ CMakeLists.txt +@@ -229,7 +229,11 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE + target_compile_definitions(${PROJECT_NAME} PRIVATE QT_NO_JAVA_STYLE_ITERATORS) + if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.16.0" + AND NOT CMAKE_CXX_COMPILER_ID STREQUAL GNU) # https://bugzilla.redhat.com/show_bug.cgi?id=1721553 +- target_precompile_headers(${PROJECT_NAME} PRIVATE <lib/room.h>) ++ if (USE_INTREE_LIBQMC) ++ target_precompile_headers(${PROJECT_NAME} PRIVATE <lib/room.h>) ++ else() ++ target_precompile_headers(${PROJECT_NAME} PRIVATE <room.h>) ++ endif() + endif () + target_link_libraries(${PROJECT_NAME} + Quotient Qt5::Widgets Qt5::Quick Qt5::Qml Qt5::Gui Qt5::Network) |