From 772929c729dc59568bbee8dc420033dad02695b3 Mon Sep 17 00:00:00 2001 From: EndrII Date: Tue, 30 Mar 2021 20:15:57 +0300 Subject: [PATCH] disable tests for the android and wasm --- CMakeLists.txt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bd146ee..f75fdb2 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,19 +12,15 @@ if(TARGET ${PROJECT_NAME}) return() endif() -if(ANDROID) - message("The ${PROJECT_NAME} is still not supports Android builds :(") - initAll() - - return() -endif() include(Patronum/QuasarAppLib/CMake/ccache.cmake) # Add sub directories add_subdirectory(Patronum) -if (NOT ${TARGET_PLATFORM_TOOLCHAIN} STREQUAL "wasm32") +if (NOT ${TARGET_PLATFORM_TOOLCHAIN} STREQUAL "wasm32" AND NOT ANDROID) add_subdirectory(Tests) +else() + message("The ${PROJECT_NAME} tests is disable because you use the android or wasm32 build.") endif() include(Patronum/QuasarAppLib/CMake/QuasarAppCITargets.cmake)