From 920d2cf41d9366a597bbd30d1dea5ba1884b3800 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Wed, 27 Apr 2016 10:57:29 +0100 Subject: AudioCore: SDL2 Sink --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3