cmake: add CoreServices framework for Mac
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c41b1dc688
commit
3378894291
@ -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…
x
Reference in New Issue
Block a user