From 76298e86be044b4d9c4332b7d10751691b5edc8e Mon Sep 17 00:00:00 2001 From: matlabbe Date: Thu, 1 Sep 2016 13:40:44 -0400 Subject: [PATCH] CMake: set WITH_QT=OFF for android by default --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e31989c..989aaa3e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -132,8 +132,11 @@ OPTION(BUILD_TOOLS "Build tools" ON) OPTION(BUILD_EXAMPLES "Build examples" ON) ####### DEPENDENCIES ####### - +IF(ANDROID) +option(WITH_QT "Include Qt support" OFF) +ELSE() option(WITH_QT "Include Qt support" ON) +ENDIF() option(WITH_FREENECT "Include Freenect support" ON) option(WITH_FREENECT2 "Include Freenect2 support" ON) option(WITH_OPENNI2 "Include OpenNI2 support" ON)