Skip to content
Snippets Groups Projects
Commit 0f853640 authored by Alam Ed Arias's avatar Alam Ed Arias
Browse files

macosx: We need CoreFoudation for SDLMain

parent 077781cc
No related branches found
No related tags found
No related merge requests found
...@@ -118,7 +118,9 @@ if(${SDL2_FOUND}) ...@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment