diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index a677269f0..2c48f3742 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -47,7 +47,7 @@ cmake_minimum_required( VERSION 2.6 ) SET( HEADER_PATH ../include/assimp ) -if(NOT (ANDROID AND ASSIMP_ANDROID_JNIIOSYSTEM)) +if(NOT ANDROID AND ASSIMP_ANDROID_JNIIOSYSTEM) message(WARNING "Requesting Android JNI I/O-System in non-Android toolchain. Resetting ASSIMP_ANDROID_JNIIOSYSTEM to OFF.") set(ASSIMP_ANDROID_JNIIOSYSTEM OFF) endif(NOT (ANDROID AND ASSIMP_ANDROID_JNIIOSYSTEM))