diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a45ec0634..997848cf4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -157,7 +157,8 @@ 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) + FIND_LIBRARY(APP_SERVICES_LIBRARY ApplicationServices ) + SET(EXTRA_LIBS ${APP_SERVICES_LIBRARY}) if(NOT DEFINED LRELEASE) set(LRELEASE lrelease) endif() |