From cc7f831ec1d94c717fc088263865b4cff3050e19 Mon Sep 17 00:00:00 2001 From: David Chavez Date: Sat, 29 Oct 2022 18:23:26 +0200 Subject: [PATCH] Fix SDL issue (#1870) --- soh/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;"