cmake: fixed macos/brew compile issue
This commit is contained in:
+9
-1
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user