mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2024-12-04 19:23:28 +01:00
fix vcpkg sdl package not properly exposing linkage flags
This commit is contained in:
parent
8ace6e51f9
commit
8e5471480c
1
.github/workflows/cmake.yml
vendored
1
.github/workflows/cmake.yml
vendored
@ -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
|
||||
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user