From 6c9e80cf43b9268514ab283b720cae61811a6c0c Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 7 Apr 2020 12:10:34 +1000 Subject: [PATCH] CMake: Only build nativefiledialog when building SDL frontend --- dep/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dep/CMakeLists.txt b/dep/CMakeLists.txt index 116eb9e08..9890c2409 100644 --- a/dep/CMakeLists.txt +++ b/dep/CMakeLists.txt @@ -13,7 +13,7 @@ add_subdirectory(libFLAC) add_subdirectory(libchdr) add_subdirectory(xxhash) -if(NOT ANDROID) +if(BUILD_SDL_FRONTEND) add_subdirectory(nativefiledialog) endif()