mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-17 12:22:46 +01:00
yuzu-cmd: link SDL2 correctly
This commit is contained in:
parent
f4b5570e7c
commit
0cbfdf7ecb
2 changed files with 1 additions and 2 deletions
1
externals/CMakeLists.txt
vendored
1
externals/CMakeLists.txt
vendored
|
@ -69,7 +69,6 @@ if (YUZU_USE_EXTERNAL_SDL2)
|
|||
endif()
|
||||
|
||||
add_subdirectory(SDL EXCLUDE_FROM_ALL)
|
||||
target_link_directories(SDL2-static INTERFACE "${SDL2_BINARY_DIR}")
|
||||
endif()
|
||||
|
||||
# ENet
|
||||
|
|
|
@ -38,7 +38,7 @@ target_link_libraries(yuzu-cmd PRIVATE inih glad)
|
|||
if (MSVC)
|
||||
target_link_libraries(yuzu-cmd PRIVATE getopt)
|
||||
endif()
|
||||
target_link_libraries(yuzu-cmd PRIVATE ${PLATFORM_LIBRARIES} SDL2 Threads::Threads)
|
||||
target_link_libraries(yuzu-cmd PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
|
||||
|
||||
create_resource("../../dist/yuzu.bmp" "yuzu_cmd/yuzu_icon.h" "yuzu_icon")
|
||||
target_include_directories(yuzu-cmd PRIVATE ${RESOURCES_DIR})
|
||||
|
|
Loading…
Reference in a new issue