mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 21:01:04 +00:00
macosx: We need CoreFoudation for SDLMain
This commit is contained in:
parent
077781cc56
commit
0f853640e2
1 changed files with 2 additions and 0 deletions
|
@ -118,7 +118,9 @@ if(${SDL2_FOUND})
|
||||||
set_target_properties(SRB2SDL2 PROPERTIES OUTPUT_NAME ${SRB2_SDL2_EXE_NAME})
|
set_target_properties(SRB2SDL2 PROPERTIES OUTPUT_NAME ${SRB2_SDL2_EXE_NAME})
|
||||||
|
|
||||||
if(${CMAKE_SYSTEM} MATCHES Darwin)
|
if(${CMAKE_SYSTEM} MATCHES Darwin)
|
||||||
|
find_library(CORE_LIB CoreFoundation)
|
||||||
target_link_libraries(SRB2SDL2 PRIVATE
|
target_link_libraries(SRB2SDL2 PRIVATE
|
||||||
|
${CORE_LIB}
|
||||||
SDL2
|
SDL2
|
||||||
SDL2_mixer
|
SDL2_mixer
|
||||||
${GME_LIBRARIES}
|
${GME_LIBRARIES}
|
||||||
|
|
Loading…
Reference in a new issue