Skip to content

Commit

Permalink
Hardcode SDL2 path for APPLE
Browse files Browse the repository at this point in the history
  • Loading branch information
IssMneur committed Oct 17, 2016
1 parent 69e475f commit 93831b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,10 @@ foreach(temp_file ${helpmaker_temp_files})
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES ${temp_file})
endforeach(temp_file)

if(IS_APPLE)
set(SDL2_LIBRARY ${3RD_PARTY_SDL2}/lib/libSDL2-2.0.dylib)
endif()

target_link_libraries(wxlauncher ${wxWidgets_LIBRARIES} ${SDL2_LIBRARY})

# adapted from http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_apply_resources_on_Mac_OS_X_automatically.3F
Expand Down

0 comments on commit 93831b4

Please sign in to comment.