From a9be38d3a1c21ebf6b2d4f27d32cbbca834aa78e Mon Sep 17 00:00:00 2001 From: Ash Logan Date: Thu, 21 Nov 2019 13:52:07 +1100 Subject: [PATCH] cmake: Don't link against stub libraries --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f565d3f5d0..844ff7eb6b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -225,8 +225,7 @@ if(WUT) 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") + set(SDL_LIBS "${SDL_LIBS} ${WUT_STANDARD_LIBRARIES}") endif() # Emscripten toolchain has a nonempty default value for this, and the checks