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
|
- name: Build
|
||||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4
|
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:
|
windows:
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|
||||||
|
@ -38,8 +38,7 @@ if(NOT MM_HEADLESS)
|
|||||||
target_link_libraries(filesystem_service
|
target_link_libraries(filesystem_service
|
||||||
PUBLIC
|
PUBLIC
|
||||||
SDL2::SDL2
|
SDL2::SDL2
|
||||||
#PRIVATE
|
SDL2::SDL2main
|
||||||
#SDL2::SDL2main
|
|
||||||
#SDL2::SDL2-static
|
#SDL2::SDL2-static
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
|
@ -33,8 +33,7 @@ elseif(VCPKG_TARGET_TRIPLET)
|
|||||||
target_link_libraries(sdl_service
|
target_link_libraries(sdl_service
|
||||||
PUBLIC
|
PUBLIC
|
||||||
SDL2::SDL2
|
SDL2::SDL2
|
||||||
#PRIVATE
|
SDL2::SDL2main
|
||||||
#SDL2::SDL2main
|
|
||||||
#SDL2::SDL2-static
|
#SDL2::SDL2-static
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
|
Loading…
Reference in New Issue
Block a user