diff options
author | bunnei <bunneidev@gmail.com> | 2021-07-20 02:54:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 02:54:03 +0200 |
commit | ffc78ce9c17554bc72f205d6ea55ef7bc3363b47 (patch) | |
tree | d117cb643addb8d3ffb363951d892fd07278e1c7 /src/yuzu_cmd/CMakeLists.txt | |
parent | Merge pull request #6651 from lat9nq/update-settings (diff) | |
parent | sdl_impl, emu_window: Remove clang ignore (diff) | |
download | yuzu-ffc78ce9c17554bc72f205d6ea55ef7bc3363b47.tar yuzu-ffc78ce9c17554bc72f205d6ea55ef7bc3363b47.tar.gz yuzu-ffc78ce9c17554bc72f205d6ea55ef7bc3363b47.tar.bz2 yuzu-ffc78ce9c17554bc72f205d6ea55ef7bc3363b47.tar.lz yuzu-ffc78ce9c17554bc72f205d6ea55ef7bc3363b47.tar.xz yuzu-ffc78ce9c17554bc72f205d6ea55ef7bc3363b47.tar.zst yuzu-ffc78ce9c17554bc72f205d6ea55ef7bc3363b47.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu_cmd/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/yuzu_cmd/CMakeLists.txt b/src/yuzu_cmd/CMakeLists.txt index 4bf25727b..e55a19649 100644 --- a/src/yuzu_cmd/CMakeLists.txt +++ b/src/yuzu_cmd/CMakeLists.txt @@ -38,6 +38,11 @@ target_include_directories(yuzu-cmd PRIVATE ${RESOURCES_DIR}) target_include_directories(yuzu-cmd PRIVATE ../../externals/Vulkan-Headers/include) +if (YUZU_USE_EXTERNAL_SDL2) + target_compile_definitions(yuzu-cmd PRIVATE -DYUZU_USE_EXTERNAL_SDL2) + target_include_directories(yuzu-cmd PRIVATE ${PROJECT_BINARY_DIR}/externals/SDL/include) +endif() + if(UNIX AND NOT APPLE) install(TARGETS yuzu-cmd RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") endif() |