Fix SDL issue (#1870)

This commit is contained in:
David Chavez 2022-10-29 18:23:26 +02:00 committed by GitHub
parent a9f73ee641
commit cc7f831ec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1699,7 +1699,7 @@ find_package(SDL2)
set(SDL2-INCLUDE ${SDL2_INCLUDE_DIRS}) set(SDL2-INCLUDE ${SDL2_INCLUDE_DIRS})
if (CMAKE_SYSTEM_NAME STREQUAL "Windows") if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
find_package(SDL2-net) find_package(SDL2_net)
set(SDL2-NET-INCLUDE ${SDL_NET_INCLUDE_DIRS}) set(SDL2-NET-INCLUDE ${SDL_NET_INCLUDE_DIRS})
endif() endif()
@ -1972,7 +1972,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
"glu32;" "glu32;"
"SDL2::SDL2;" "SDL2::SDL2;"
"SDL2::SDL2main;" "SDL2::SDL2main;"
"SDL2::SDL2_net;" "SDL2_net::SDL2_net-static;"
"glfw;" "glfw;"
"winmm;" "winmm;"
"imm32;" "imm32;"