diff options
| author | bunnei <bunneidev@gmail.com> | 2021-07-19 20:54:03 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-19 20:54:03 -0400 |
| commit | ffc78ce9c17554bc72f205d6ea55ef7bc3363b47 (patch) | |
| tree | d117cb643addb8d3ffb363951d892fd07278e1c7 /src/yuzu_cmd/CMakeLists.txt | |
| parent | f85bbf3a8f8837ffc2357748034c951a5a744031 (diff) | |
| parent | f7859331252646748c00fbda6ad0b8765de5718b (diff) | |
Merge pull request #6652 from lat9nq/cmd-vulkan-fixes
yuzu-cmd: Linux Vulkan fixes
Diffstat (limited to 'src/yuzu_cmd/CMakeLists.txt')
| -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() |
