diff --git a/soh/CMakeLists.txt b/soh/CMakeLists.txt index 490e554a5..5b8498b6b 100644 --- a/soh/CMakeLists.txt +++ b/soh/CMakeLists.txt @@ -1699,7 +1699,7 @@ find_package(SDL2) set(SDL2-INCLUDE ${SDL2_INCLUDE_DIRS}) if (CMAKE_SYSTEM_NAME STREQUAL "Windows") - find_package(SDL2-net) + find_package(SDL2_net) set(SDL2-NET-INCLUDE ${SDL_NET_INCLUDE_DIRS}) endif() @@ -1972,7 +1972,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Windows") "glu32;" "SDL2::SDL2;" "SDL2::SDL2main;" - "SDL2::SDL2_net;" + "SDL2_net::SDL2_net-static;" "glfw;" "winmm;" "imm32;"