diff options
| author | 2022-12-06 09:58:48 -0500 | |
|---|---|---|
| committer | 2022-12-06 09:58:48 -0500 | |
| commit | a225ba4cda6a5e38af6cd7464d19754506152ec9 (patch) | |
| tree | 3506ce99ec9730d6ae08e593c0c7a4979d9e8ce2 /src/audio_core | |
| parent | Merge pull request #9387 from abouvier/cmake-libusb (diff) | |
| parent | cmake: use sdl2 imported target (diff) | |
| download | yuzu-a225ba4cda6a5e38af6cd7464d19754506152ec9.tar.gz yuzu-a225ba4cda6a5e38af6cd7464d19754506152ec9.tar.xz yuzu-a225ba4cda6a5e38af6cd7464d19754506152ec9.zip | |
Merge pull request #9391 from abouvier/cmake-sdl
cmake: use sdl2 imported target
Diffstat (limited to 'src/audio_core')
| -rw-r--r-- | src/audio_core/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/audio_core/CMakeLists.txt b/src/audio_core/CMakeLists.txt index f573a23e6..420ba62e0 100644 --- a/src/audio_core/CMakeLists.txt +++ b/src/audio_core/CMakeLists.txt | |||
| @@ -227,11 +227,7 @@ if(ENABLE_CUBEB) | |||
| 227 | target_compile_definitions(audio_core PRIVATE -DHAVE_CUBEB=1) | 227 | target_compile_definitions(audio_core PRIVATE -DHAVE_CUBEB=1) |
| 228 | endif() | 228 | endif() |
| 229 | if(ENABLE_SDL2) | 229 | if(ENABLE_SDL2) |
| 230 | if (YUZU_USE_EXTERNAL_SDL2) | 230 | target_link_libraries(audio_core PRIVATE SDL2::SDL2) |
| 231 | target_link_libraries(audio_core PRIVATE SDL2-static) | ||
| 232 | else() | ||
| 233 | target_link_libraries(audio_core PRIVATE SDL2) | ||
| 234 | endif() | ||
| 235 | target_compile_definitions(audio_core PRIVATE HAVE_SDL2) | 231 | target_compile_definitions(audio_core PRIVATE HAVE_SDL2) |
| 236 | endif() | 232 | endif() |
| 237 | 233 | ||