From 4fac0837991225b9d652db2a28562ece67165a32 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sat, 8 Aug 2020 03:17:21 +1000 Subject: [PATCH] lol i accidentally deleted the mac fix when i reverted the cmake files big time oof --- app/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 7ea42d7f5..931702964 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -126,7 +126,12 @@ target_include_directories( ${FFMPEG_INCLUDE_DIRS} ${OCIO_INCLUDE_DIRS} ${OIIO_INCLUDE_DIRS} - ${OPENEXR_INCLUDE_DIR} + ${OPENEXR_INCLUDES} + + # HACK: Brew on macOS separates OpenEXR and IlmBase into two folders even though they seem to + # expect to be in one. This includes the IlmBase files as if they were in the same folders + # as the OpenEXR headers. + ${ILMBASE_INCLUDES}/OpenEXR ) # Set link libraries