diff --git a/src/OpenColorIO/CMakeLists.txt b/src/OpenColorIO/CMakeLists.txt index 0b4f9ee292..4db41aa096 100755 --- a/src/OpenColorIO/CMakeLists.txt +++ b/src/OpenColorIO/CMakeLists.txt @@ -325,7 +325,9 @@ endif() if(APPLE) target_link_libraries(OpenColorIO PRIVATE - "-framework Carbon" + "-framework ColorSync" + "-framework CoreFoundation" + "-framework CoreGraphics" "-framework IOKit" ) endif() diff --git a/src/OpenColorIO/SystemMonitor_macos.cpp b/src/OpenColorIO/SystemMonitor_macos.cpp index bfe6ffc1b4..9957903885 100644 --- a/src/OpenColorIO/SystemMonitor_macos.cpp +++ b/src/OpenColorIO/SystemMonitor_macos.cpp @@ -9,7 +9,8 @@ #endif -#include +#include +#include #include #include "Logging.h" diff --git a/src/libutils/oglapphelpers/CMakeLists.txt b/src/libutils/oglapphelpers/CMakeLists.txt index 39a20ecb3a..cef50ede1c 100644 --- a/src/libutils/oglapphelpers/CMakeLists.txt +++ b/src/libutils/oglapphelpers/CMakeLists.txt @@ -102,7 +102,9 @@ endif() if(APPLE) target_link_libraries(oglapphelpers PRIVATE - "-framework Carbon" + "-framework ColorSync" + "-framework CoreFoundation" + "-framework CoreGraphics" "-framework IOKit" "-framework Metal" "-framework CoreVideo" diff --git a/tests/cpu/CMakeLists.txt b/tests/cpu/CMakeLists.txt index eb4c323875..91246fcc9e 100755 --- a/tests/cpu/CMakeLists.txt +++ b/tests/cpu/CMakeLists.txt @@ -49,7 +49,9 @@ function(add_ocio_test NAME SOURCES PRIVATE_INCLUDES) # Frameworks needed to access the ICC monitor profile. target_link_libraries(${TEST_BINARY} PRIVATE - "-framework Carbon" + "-framework ColorSync" + "-framework CoreFoundation" + "-framework CoreGraphics" "-framework IOKit" ) endif(APPLE)