summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/radiance/files/patch-CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
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)
+