From 61ee61d0831d0382b53f0977b65df70b89b92c54 Mon Sep 17 00:00:00 2001 From: "Tobias C. Berner" Date: Sat, 13 Jul 2019 12:50:04 +0000 Subject: [PATCH] science/massxpert: prepare for Qt 5.13 PR: 238782 --- science/massxpert/files/patch-CMakeLists.txt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/science/massxpert/files/patch-CMakeLists.txt b/science/massxpert/files/patch-CMakeLists.txt index dd14622c2dc3..0829118314de 100644 --- a/science/massxpert/files/patch-CMakeLists.txt +++ b/science/massxpert/files/patch-CMakeLists.txt @@ -1,6 +1,6 @@ ---- CMakeLists.txt.orig 2019-03-09 23:08:57 UTC +--- CMakeLists.txt.orig 2016-07-19 13:57:16 UTC +++ CMakeLists.txt -@@ -130,8 +130,8 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/CMake +@@ -130,8 +130,8 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/CMakeTemplates/conf # install stuff # The license file @@ -29,3 +29,12 @@ ENDIF(UNIX AND NOT APPLE) ################# +@@ -213,6 +213,8 @@ IF(${BUILD_USERMANUAL}) + + ENDIF(${BUILD_USERMANUAL}) + ++# Fix build with Qt 5.13 ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_DEPRECATED_WARNINGS=Y") + + ############################################################# + # summary