cmake: correctly link against CoreServices
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6a466d0cfb
commit
3dac769c33
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user