fix vcpkg sdl package not properly exposing linkage flags

This commit is contained in:
Green Sky 2022-11-01 15:41:41 +01:00
parent 8ace6e51f9
commit 8e5471480c
No known key found for this signature in database
3 changed files with 2 additions and 5 deletions

View File

@ -136,7 +136,6 @@ jobs:
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4
# TODO: for some reason vcpkg find sdl does not work, despite the find_package REQUIRE not failing
windows:
timeout-minutes: 10

View File

@ -38,8 +38,7 @@ if(NOT MM_HEADLESS)
target_link_libraries(filesystem_service
PUBLIC
SDL2::SDL2
#PRIVATE
#SDL2::SDL2main
SDL2::SDL2main
#SDL2::SDL2-static
)
else()

View File

@ -33,8 +33,7 @@ elseif(VCPKG_TARGET_TRIPLET)
target_link_libraries(sdl_service
PUBLIC
SDL2::SDL2
#PRIVATE
#SDL2::SDL2main
SDL2::SDL2main
#SDL2::SDL2-static
)
else()