diff --git a/hecl/driver/CMakeLists.txt b/hecl/driver/CMakeLists.txt index a6e7afe42..826794b79 100644 --- a/hecl/driver/CMakeLists.txt +++ b/hecl/driver/CMakeLists.txt @@ -17,6 +17,11 @@ if(NOT WIN32) list(APPEND PLAT_LIBS pthread) endif() +if(APPLE) + find_library(CF_LIBRARY CoreFoundation) + list(APPEND PLAT_LIBS ${CF_LIBRARY}) +endif() + target_link_libraries(hecl ${DATA_SPEC_LIBS} HECLDatabase HECLBackend HECLFrontend HECLBlender HECLCommon AthenaCore NOD