diff --git a/CMakeLists.txt b/CMakeLists.txt index 63a51b2a97..cd9047b6cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -678,8 +678,6 @@ endif() # find SDL2 exports a bunch of variables that are needed, so its easier to do this outside of the YUZU_find_package # TODO(crueter): combine this all with CPM. if (ENABLE_SDL2) - message(STATUS "SDL2 enabled, fetching...") - if (YUZU_USE_BUNDLED_SDL2) message(STATUS "Using bundled SDL2") AddCIPackage( @@ -695,7 +693,7 @@ if (ENABLE_SDL2) message(STATUS "Using SDL2 from externals.") endif() - if (NOT YUZU_USE_EXTERNAL_SDL2) + if (YUZU_USE_BUNDLED_SDL2 OR NOT YUZU_USE_EXTERNAL_SDL2) find_package(SDL2 2.26.4 REQUIRED) endif() endif()