diff options
Diffstat (limited to 'src/yuzu_cmd/CMakeLists.txt')
| -rw-r--r-- | src/yuzu_cmd/CMakeLists.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/yuzu_cmd/CMakeLists.txt b/src/yuzu_cmd/CMakeLists.txt index 19b1d258c..f6eeb9d8d 100644 --- a/src/yuzu_cmd/CMakeLists.txt +++ b/src/yuzu_cmd/CMakeLists.txt | |||
| @@ -43,13 +43,7 @@ target_link_libraries(yuzu-cmd PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads) | |||
| 43 | create_resource("../../dist/yuzu.bmp" "yuzu_cmd/yuzu_icon.h" "yuzu_icon") | 43 | create_resource("../../dist/yuzu.bmp" "yuzu_cmd/yuzu_icon.h" "yuzu_icon") |
| 44 | target_include_directories(yuzu-cmd PRIVATE ${RESOURCES_DIR}) | 44 | target_include_directories(yuzu-cmd PRIVATE ${RESOURCES_DIR}) |
| 45 | 45 | ||
| 46 | target_link_libraries(yuzu-cmd PRIVATE Vulkan::Headers) | 46 | target_link_libraries(yuzu-cmd PRIVATE SDL2::SDL2 Vulkan::Headers) |
| 47 | |||
| 48 | if (YUZU_USE_EXTERNAL_SDL2) | ||
| 49 | target_link_libraries(yuzu-cmd PRIVATE SDL2-static) | ||
| 50 | else() | ||
| 51 | target_link_libraries(yuzu-cmd PRIVATE SDL2) | ||
| 52 | endif() | ||
| 53 | 47 | ||
| 54 | if(UNIX AND NOT APPLE) | 48 | if(UNIX AND NOT APPLE) |
| 55 | install(TARGETS yuzu-cmd) | 49 | install(TARGETS yuzu-cmd) |