diff options
| author | 2022-11-25 19:35:46 +0100 | |
|---|---|---|
| committer | 2022-12-04 17:09:25 +0100 | |
| commit | 8e17b5469fc7f5211fc3e24841896ea030adce84 (patch) | |
| tree | c5baf2ed91c115c7f07063297d2cd611e73b6713 /src/yuzu_cmd | |
| parent | Merge pull request #9375 from jbeich/xbyak-no-install (diff) | |
| download | yuzu-8e17b5469fc7f5211fc3e24841896ea030adce84.tar.gz yuzu-8e17b5469fc7f5211fc3e24841896ea030adce84.tar.xz yuzu-8e17b5469fc7f5211fc3e24841896ea030adce84.zip | |
cmake: prefer system libraries
Diffstat (limited to 'src/yuzu_cmd')
| -rw-r--r-- | src/yuzu_cmd/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu_cmd/CMakeLists.txt b/src/yuzu_cmd/CMakeLists.txt index 607b4e6aa..cbf04a939 100644 --- a/src/yuzu_cmd/CMakeLists.txt +++ b/src/yuzu_cmd/CMakeLists.txt | |||
| @@ -34,7 +34,7 @@ add_executable(yuzu-cmd | |||
| 34 | create_target_directory_groups(yuzu-cmd) | 34 | create_target_directory_groups(yuzu-cmd) |
| 35 | 35 | ||
| 36 | target_link_libraries(yuzu-cmd PRIVATE common core input_common) | 36 | target_link_libraries(yuzu-cmd PRIVATE common core input_common) |
| 37 | target_link_libraries(yuzu-cmd PRIVATE inih glad) | 37 | target_link_libraries(yuzu-cmd PRIVATE inih::INIReader glad) |
| 38 | if (MSVC) | 38 | if (MSVC) |
| 39 | target_link_libraries(yuzu-cmd PRIVATE getopt) | 39 | target_link_libraries(yuzu-cmd PRIVATE getopt) |
| 40 | endif() | 40 | endif() |
| @@ -43,7 +43,7 @@ target_link_libraries(yuzu-cmd PRIVATE ${PLATFORM_LIBRARIES} SDL2 Threads::Threa | |||
| 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_include_directories(yuzu-cmd PRIVATE ../../externals/Vulkan-Headers/include) | 46 | target_link_libraries(yuzu-cmd PRIVATE Vulkan::Headers) |
| 47 | 47 | ||
| 48 | if (YUZU_USE_EXTERNAL_SDL2) | 48 | if (YUZU_USE_EXTERNAL_SDL2) |
| 49 | target_link_libraries(yuzu-cmd PRIVATE SDL2-static) | 49 | target_link_libraries(yuzu-cmd PRIVATE SDL2-static) |
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index 59f9c8e09..2c78e776c 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp | |||
| @@ -15,7 +15,7 @@ | |||
| 15 | #pragma clang diagnostic pop | 15 | #pragma clang diagnostic pop |
| 16 | #endif | 16 | #endif |
| 17 | 17 | ||
| 18 | #include <inih/cpp/INIReader.h> | 18 | #include <INIReader.h> |
| 19 | #include "common/fs/file.h" | 19 | #include "common/fs/file.h" |
| 20 | #include "common/fs/fs.h" | 20 | #include "common/fs/fs.h" |
| 21 | #include "common/fs/path_util.h" | 21 | #include "common/fs/path_util.h" |