mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
cmake: correctly link against CoreServices
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6a466d0cfb
commit
3dac769c33
1 changed files with 2 additions and 1 deletions
|
@ -157,7 +157,8 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
IF(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
IF(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||||
SET(PLATFORM_SRC macos.c)
|
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)
|
if(NOT DEFINED LRELEASE)
|
||||||
set(LRELEASE lrelease)
|
set(LRELEASE lrelease)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue