From 3378894291347387d3bc0636a857d255b0c1953d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 26 Mar 2015 12:52:48 -0700 Subject: cmake: add CoreServices framework for Mac Signed-off-by: Dirk Hohndel --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 639945d2d..3cde8e3f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,6 +125,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux") ENDIF() IF(CMAKE_SYSTEM_NAME STREQUAL "Darwin") SET(PLATFORM_SRC macos.c) + set(SUBSURFACE_LINK_LIBRARIES ${SUBSURFACE_LINK_LIBRARIES} -framework CoreServices) ENDIF() IF(CMAKE_SYSTEM_NAME STREQUAL "Windows") SET(PLATFORM_SRC windows.c) -- cgit v1.2.3-70-g09d2