diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -120,7 +120,9 @@ add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) add_subdirectory(src) -add_subdirectory(templates) +if (NOT ANDROID) + add_subdirectory(templates) +endif() if (BUILD_EXAMPLES AND NOT STATIC_LIBRARY) add_subdirectory(examples)