mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cmake: add CoreServices framework for Mac
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c41b1dc688
commit
3378894291
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ 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)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
IF(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
IF(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||||
SET(PLATFORM_SRC windows.c)
|
SET(PLATFORM_SRC windows.c)
|
||||||
|
|
Loading…
Add table
Reference in a new issue