From fcda43dfbe9c3ca4347a8740596d3c1734d1ad28 Mon Sep 17 00:00:00 2001 From: "Tobias C. Berner" Date: Sat, 13 Jul 2019 11:53:05 +0000 Subject: graphics/radiance: prepare for Qt 5.13 PR: 238782 --- graphics/radiance/files/patch-CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 graphics/radiance/files/patch-CMakeLists.txt (limited to 'graphics/radiance') diff --git a/graphics/radiance/files/patch-CMakeLists.txt b/graphics/radiance/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..6c3e6bbf19ed --- /dev/null +++ b/graphics/radiance/files/patch-CMakeLists.txt @@ -0,0 +1,12 @@ +--- CMakeLists.txt.orig 2019-07-13 11:40:32 UTC ++++ CMakeLists.txt +@@ -21,6 +21,9 @@ set(CMAKE_CXX_STANDARD 14) + set(OpenGL_GL_PREFERENCE GLVND) + set(RADIANCE_SYSTEM_RESOURCES "${CMAKE_SOURCE_DIR}/resources/" CACHE STRING "The path where Radiance looks for its resources") + ++# Fix build with Qt 5.13 ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_DEPRECATED_WARNINGS=Y") ++ + include(Doxygen) + include_directories(BTrack/src) + -- cgit v1.2.3