aboutsummaryrefslogtreecommitdiff
path: root/graphics/radiance
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2019-07-13 11:53:05 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2019-07-13 11:53:05 +0000
commitfcda43dfbe9c3ca4347a8740596d3c1734d1ad28 (patch)
treeb0ec1550b1a6e8f8c03f0a0ccb764e97889204df /graphics/radiance
parent9d147d2610a3191015183f3e0198cb84ae6f649a (diff)
downloadports-fcda43dfbe9c3ca4347a8740596d3c1734d1ad28.tar.gz
ports-fcda43dfbe9c3ca4347a8740596d3c1734d1ad28.zip
graphics/radiance: prepare for Qt 5.13
PR: 238782
Notes
Notes: svn path=/head/; revision=506539
Diffstat (limited to 'graphics/radiance')
-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)
+