net-im/nheko: prepare for Qt 5.13

PR:		238782
This commit is contained in:
Tobias C. Berner 2019-07-13 12:39:07 +00:00
parent f1334eb2cb
commit cb107b54fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506541

View file

@ -0,0 +1,12 @@
--- CMakeLists.txt.orig 2019-07-13 12:11:29 UTC
+++ CMakeLists.txt
@@ -114,6 +114,9 @@ if(NOT MSVC)
endif()
endif()
+# Fix build with Qt 5.13
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_DEPRECATED_WARNINGS=Y")
+
if (MSVC)
set(
CMAKE_CXX_FLAGS