From a7e75cf5e0c6abb0a59fccba4da0bf3ff0f9d7e7 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 1c7939c39..806ad1fbb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -239,8 +239,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