disable tests for the android and wasm

This commit is contained in:
Andrei Yankovich 2021-03-30 20:15:57 +03:00
parent abbf1e5fb9
commit 772929c729

View File

@ -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)