add mingw-w64 support

This commit is contained in:
2021-11-30 19:50:40 +01:00
parent dc37ad54ec
commit ec98df52d7
8 changed files with 28 additions and 9 deletions

View File

@ -39,6 +39,10 @@ else()
target_link_libraries(sdl_service glad)
endif()
if(VCPKG_TARGET_TRIPLET)
target_link_libraries(sdl_service SDL2::SDL2 SDL2::SDL2main SDL2::SDL2-static)
endif()
if(BUILD_TESTING)
add_subdirectory(test)
endif()