git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4806
ffa7fe5e-494d-0410-b361-
a75ebd5db220
if(DEFINED CMAKE_CXX_COMPILER AND CMAKE_CXX_COMPILER MATCHES "^$")
set(CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-NOTFOUND)
endif(DEFINED CMAKE_CXX_COMPILER AND CMAKE_CXX_COMPILER MATCHES "^$")
-enable_language(CXX OPTIONAL)
+if (NOT DISABLE_CXX)
+ enable_language(CXX OPTIONAL)
+endif(NOT DISABLE_CXX)
cmake_minimum_required(VERSION 2.6)
cmake_policy(VERSION 2.6)
set(CMAKE_SYSTEM_NAME GNU)
set(ANDROID TRUE)
-set(ANDROID_API_VERSION 8 CACHE STRING "Andriod API Version")
+set(ANDROID_API_VERSION 9 CACHE STRING "Andriod API Version")
set(ANDROID_NDK_API_VERSION ${ANDROID_API_VERSION} CACHE STRING "Andriod NDK API Version")
set(ANDROID_ARCH "x86" CACHE STRING "Android architecture")