1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

ignore ENABLE_LAUNCHER and ENABLE_EDITOR options on Android

This commit is contained in:
Andrey Filipenkov 2023-02-27 13:04:37 +03:00
parent fd56f86a84
commit c31a9f7f5d

View File

@ -41,17 +41,17 @@ if(NOT CMAKE_BUILD_TYPE)
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS Debug Release RelWithDebInfo)
endif()
set(qtParts ON)
set(staticAI OFF)
if(ANDROID)
set(qtParts OFF)
set(staticAI ON)
endif()
option(ENABLE_ERM "Enable compilation of ERM scripting module" OFF)
option(ENABLE_LUA "Enable compilation of LUA scripting module" OFF)
option(ENABLE_LAUNCHER "Enable compilation of launcher" ${qtParts})
option(ENABLE_EDITOR "Enable compilation of map editor" ${qtParts})
if(NOT ANDROID)
option(ENABLE_LAUNCHER "Enable compilation of launcher" ON)
option(ENABLE_EDITOR "Enable compilation of map editor" ON)
endif()
option(ENABLE_TRANSLATIONS "Enable generation of translations for launcher and editor" ON)
option(ENABLE_NULLKILLER_AI "Enable compilation of Nullkiller AI library" ON)