git: bd285c2e4c71 - main - graphics/opencolorio-tools: prepare for cmake-3.22

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Sat, 11 Dec 2021 08:22:14 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bd285c2e4c71e7942af806715782e7b2cae51951

commit bd285c2e4c71e7942af806715782e7b2cae51951
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2021-12-11 08:12:47 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-12-11 08:15:48 +0000

    graphics/opencolorio-tools: prepare for cmake-3.22
    
    PR:             260123
---
 .../files/patch-src_apps_ociodisplay_CMakeLists.txt           | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/graphics/opencolorio/files/patch-src_apps_ociodisplay_CMakeLists.txt b/graphics/opencolorio/files/patch-src_apps_ociodisplay_CMakeLists.txt
new file mode 100644
index 000000000000..8fe811eb1290
--- /dev/null
+++ b/graphics/opencolorio/files/patch-src_apps_ociodisplay_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- src/apps/ociodisplay/CMakeLists.txt.orig	2019-03-28 05:12:57 UTC
++++ src/apps/ociodisplay/CMakeLists.txt
+@@ -13,7 +13,7 @@ if (OIIO_FOUND)
+ 
+     # set_target_properties(ociodisplay PROPERTIES INSTALL_RPATH ${OIIO_LIBRARIES} )
+     set_target_properties(ociodisplay PROPERTIES COMPILE_FLAGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE})
+-    target_link_libraries(ociodisplay ${GLEW_LIBRARIES} ${GLUT_LIBRARY} ${OPENGL_LIBRARY} ${OIIO_LIBRARIES})
++    target_link_libraries(ociodisplay ${GLEW_LIBRARIES} ${GLUT_LIBRARY} ${GLUT_LIBRARIES} ${OPENGL_LIBRARY} ${OIIO_LIBRARIES})
+     target_link_OCIO(ociodisplay)
+ 
+     install(TARGETS ociodisplay EXPORT OpenColorIO DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/bin)