diff options
| author | 2023-06-03 00:14:33 -0700 | |
|---|---|---|
| committer | 2023-06-03 00:14:33 -0700 | |
| commit | 296ccb698da0325707c1e2d5c871051a7d073d45 (patch) | |
| tree | 04a84295dd3696772faf4d177e3e7139bf0dd031 | |
| parent | android: Fix crash on importing invalid save (diff) | |
| download | yuzu-296ccb698da0325707c1e2d5c871051a7d073d45.tar.gz yuzu-296ccb698da0325707c1e2d5c871051a7d073d45.tar.xz yuzu-296ccb698da0325707c1e2d5c871051a7d073d45.zip | |
android: cmake: Use cmake_dependent_option as appropriate.
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1771b063c..30a3c939e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -20,7 +20,7 @@ CMAKE_DEPENDENT_OPTION(YUZU_USE_BUNDLED_SDL2 "Download bundled SDL2 binaries" ON | |||
| 20 | # On Linux system SDL2 is likely to be lacking HIDAPI support which have drawbacks but is needed for SDL motion | 20 | # On Linux system SDL2 is likely to be lacking HIDAPI support which have drawbacks but is needed for SDL motion |
| 21 | CMAKE_DEPENDENT_OPTION(YUZU_USE_EXTERNAL_SDL2 "Compile external SDL2" ON "ENABLE_SDL2;NOT MSVC" OFF) | 21 | CMAKE_DEPENDENT_OPTION(YUZU_USE_EXTERNAL_SDL2 "Compile external SDL2" ON "ENABLE_SDL2;NOT MSVC" OFF) |
| 22 | 22 | ||
| 23 | option(ENABLE_LIBUSB "Enable the use of LibUSB" "NOT ${ANDROID}") | 23 | cmake_dependent_option(ENABLE_LIBUSB "Enable the use of LibUSB" ON "NOT ANDROID" OFF) |
| 24 | 24 | ||
| 25 | option(ENABLE_OPENGL "Enable OpenGL" ON) | 25 | option(ENABLE_OPENGL "Enable OpenGL" ON) |
| 26 | mark_as_advanced(FORCE ENABLE_OPENGL) | 26 | mark_as_advanced(FORCE ENABLE_OPENGL) |
| @@ -49,7 +49,7 @@ option(YUZU_TESTS "Compile tests" "${BUILD_TESTING}") | |||
| 49 | 49 | ||
| 50 | option(YUZU_USE_PRECOMPILED_HEADERS "Use precompiled headers" ON) | 50 | option(YUZU_USE_PRECOMPILED_HEADERS "Use precompiled headers" ON) |
| 51 | 51 | ||
| 52 | option(YUZU_ROOM "Compile LDN room server" "NOT ${ANDROID}") | 52 | cmake_dependent_option(YUZU_ROOM "Compile LDN room server" ON "NOT ANDROID" OFF) |
| 53 | 53 | ||
| 54 | CMAKE_DEPENDENT_OPTION(YUZU_CRASH_DUMPS "Compile Windows crash dump (Minidump) support" OFF "WIN32" OFF) | 54 | CMAKE_DEPENDENT_OPTION(YUZU_CRASH_DUMPS "Compile Windows crash dump (Minidump) support" OFF "WIN32" OFF) |
| 55 | 55 | ||