Fix SDL issue (#1870) (#1871)

(cherry picked from commit cc7f831ec1)

Co-authored-by: David Chavez <david@dcvz.io>
This commit is contained in:
mergify[bot] 2022-10-29 13:54:55 -04:00 committed by GitHub
parent 6e2c38895b
commit b1bb8fe8c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;"