graphics/opencolorio-tools: prepare for cmake-3.22

PR:		260123
This commit is contained in:
Tobias C. Berner 2021-12-11 09:12:47 +01:00
parent ce6625b9a2
commit bd285c2e4c

View File

@ -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)