mirror of
https://github.com/yawut/SDL.git
synced 2026-07-10 13:44:44 -05:00
cmake: Update SDL_LIBS so pkg-config pulls in needed Cafe libs
This commit is contained in:
parent
bf5e9a1cd5
commit
f2e83587ad
|
|
@ -223,6 +223,10 @@ if(WUT)
|
|||
# Use wut cflags and remove debug symbols
|
||||
set(CMAKE_C_FLAGS "${WUT_C_FLAGS} ${CMAKE_C_FLAGS}")
|
||||
string(REPLACE "-g" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
|
||||
|
||||
#Link against needed libraries
|
||||
set(SDL_LIBS "${SDL_LIBS} -lcoreinit -lgx2 -lwhb -lproc_ui -lsysapp -lgfd")
|
||||
set(SDL_LIBS "${SDL_LIBS} -lvpad -lpadscore -lnsysnet -lsndcore2")
|
||||
endif()
|
||||
|
||||
# Emscripten toolchain has a nonempty default value for this, and the checks
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user