mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 07:12:03 +00:00
macosx: let fix linking to SDL frameworks
This commit is contained in:
parent
9bc6ce3d85
commit
2c4a27c7c6
2 changed files with 4 additions and 4 deletions
|
@ -118,10 +118,10 @@ if(${SDL2_FOUND})
|
|||
set_target_properties(SRB2SDL2 PROPERTIES OUTPUT_NAME ${SRB2_SDL2_EXE_NAME})
|
||||
|
||||
if(${CMAKE_SYSTEM} MATCHES Darwin)
|
||||
add_framework(CoreFoundation SRB2SDL2)
|
||||
add_framework(SDL2 SRB2SDL2)
|
||||
add_framework(SDL2_mixer SRB2SDL2)
|
||||
target_link_libraries(SRB2SDL2 PRIVATE
|
||||
CoreFoundation
|
||||
SDL2
|
||||
SDL2_mixer
|
||||
${GME_LIBRARIES}
|
||||
${PNG_LIBRARIES}
|
||||
${ZLIB_LIBRARIES}
|
||||
|
|
Loading…
Reference in a new issue