diff options
author | bunnei <bunneidev@gmail.com> | 2016-05-07 17:08:13 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-05-07 17:08:13 +0200 |
commit | c549c3607675dcaa7aa508477da89d0d3bec076b (patch) | |
tree | 1f3a6775c631174398fa507683f14c1969308c9c /CMakeLists.txt | |
parent | HLE: Fix recent DSP change for Visual Studio. (diff) | |
parent | AudioCore: SDL2 Sink (diff) | |
download | yuzu-c549c3607675dcaa7aa508477da89d0d3bec076b.tar yuzu-c549c3607675dcaa7aa508477da89d0d3bec076b.tar.gz yuzu-c549c3607675dcaa7aa508477da89d0d3bec076b.tar.bz2 yuzu-c549c3607675dcaa7aa508477da89d0d3bec076b.tar.lz yuzu-c549c3607675dcaa7aa508477da89d0d3bec076b.tar.xz yuzu-c549c3607675dcaa7aa508477da89d0d3bec076b.tar.zst yuzu-c549c3607675dcaa7aa508477da89d0d3bec076b.zip |
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d628ecc50..8f2898973 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,12 +152,15 @@ if (ENABLE_SDL2) download_bundled_external("sdl2/" ${SDL2_VER} SDL2_PREFIX) endif() + set(SDL2_FOUND YES) set(SDL2_INCLUDE_DIR "${SDL2_PREFIX}/include" CACHE PATH "Path to SDL2 headers") set(SDL2_LIBRARY "${SDL2_PREFIX}/lib/x64/SDL2.lib" CACHE PATH "Path to SDL2 library") set(SDL2_DLL_DIR "${SDL2_PREFIX}/lib/x64/" CACHE PATH "Path to SDL2.dll") else() find_package(SDL2 REQUIRED) endif() +else() + set(SDL2_FOUND NO) endif() IF (APPLE) |