parent
0510e017e1
commit
c60cdb3610
1 changed files with 4 additions and 0 deletions
|
@ -362,6 +362,10 @@ if(TARGET SDL2::SDL2)
|
|||
# CMake-generated config (Arch, vcpkg, Raspbian)
|
||||
message(STATUS "Using system SDL2")
|
||||
target_link_libraries(CSE2 SDL2::SDL2 SDL2::SDL2main)
|
||||
elseif(TARGET SDL2::SDL2-static)
|
||||
# CMake-generated config (Arch, vcpkg, Raspbian)
|
||||
message(STATUS "Using system SDL2")
|
||||
target_link_libraries(CSE2 SDL2::SDL2-static SDL2::SDL2main)
|
||||
elseif(SDL2_FOUND)
|
||||
# Autotools-generated config (MSYS2)
|
||||
message(STATUS "Using system SDL2")
|
||||
|
|
Loading…
Add table
Reference in a new issue