cmake: fixed macos/brew compile issue

This commit is contained in:
itsmattkc
2020-08-07 23:29:25 +10:00
parent aa31f8ac97
commit 0cd4edad57
+9 -1
View File
@@ -131,9 +131,17 @@ target_include_directories(
${FFMPEG_INCLUDE_DIRS}
${OCIO_INCLUDE_DIRS}
${OIIO_INCLUDE_DIRS}
${OPENEXR_INCLUDE_DIR}
# HACK: Brew on macOS separates the OpenEXR and IlmBase headers while they seem to expect to be
# in the same folder. So we link to that folder directly here.
${ILMBASE_INCLUDES}/OpenEXR
${OPENEXR_INCLUDES}
)
message("OpenEXR Includes: " ${OPENEXR_INCLUDES})
message("ILMBASE Includes: " ${ILMBASE_INCLUDES})
# Set link libraries
target_link_libraries(
${OLIVE_TARGET}