Building Android NN tests are on by default.
In case of g++ < 6.3, it is disabled to avoid build failure in
TestGenerated.cpp.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
option(BUILD_ACL_STATIC_LIB "Build ARM Comput Static Library" OFF)
option(BUILD_BENCHMARK_ACL "Build ARM Compute Library Benchmarks" OFF)
option(BUILD_NN_RUNTIME "Build NN Runtime" ON)
-option(BUILD_ANDROID_NN_RUNTIME_TEST "Build Android NN Runtime Test" OFF)
option(BUILD_LABS "Build lab projects" ON)
+option(BUILD_ANDROID_NN_RUNTIME_TEST "Build Android NN Runtime Test" ON)
+
+if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 6.3)
+ set(BUILD_ANDROID_NN_RUNTIME_TEST OFF)
+endif()
#
# Common variables