From a94c8bf3f69fd072d9896e2e2881a0fcc0636e88 Mon Sep 17 00:00:00 2001 From: Marc-Anton Boehm-von Thenen Date: Mon, 18 Feb 2019 14:14:27 +0100 Subject: [PATCH] [Issue_2340] Wrong precondition layout... missed ANDROID=ON and ASSIMP_ANDROID_JNIIOSYSTEM=OFFvalid constellation --- code/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))