Fixed tests compilation issue with low Android API levels. OpenCV successfully compiles for API level 3 and above.

Enable tests for Android by default.
This commit is contained in:
Andrey Kamaev
2011-04-30 10:38:24 +00:00
parent 17b11a47bf
commit c122b7e114
2 changed files with 4 additions and 10 deletions

View File

@@ -24,9 +24,6 @@ set(BUILD_SHARED_LIBS OFF CACHE BOOL "" )
#Build 3rd party libraries
set(OPENCV_BUILD_3RDPARTY_LIBS ON CACHE BOOL "" )
#Build tests
set(BUILD_TESTS OFF CACHE BOOL "" )
#Choose the type of build, options are: None Debug Release RelWithDebInfo
# MinSizeRel.
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "" )