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

Make ENABLE_NULLKILLER_AI top level option

This commit is contained in:
Hennadii Chernyshchyk 2022-12-15 02:18:17 +02:00
parent 79a9a0b85a
commit 37068a75b3
No known key found for this signature in database
GPG Key ID: 24623302B8395825
3 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,6 @@
# FuzzyLite support #
#######################################
option(ENABLE_NULLKILLER_AI "Enable compilation of Nullkiller AI library" ON)
if(NOT WIN32 AND NOT APPLE)
option(FORCE_BUNDLED_FL "Force to use FuzzyLite included into VCMI's source tree" ON)
else()

View File

@ -52,6 +52,7 @@ 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" ON)
option(ENABLE_EDITOR "Enable compilation of map editor" ON)
option(ENABLE_NULLKILLER_AI "Enable compilation of Nullkiller AI library" ON)
if(APPLE_IOS)
set(BUNDLE_IDENTIFIER_PREFIX "" CACHE STRING "Bundle identifier prefix")
set(APP_DISPLAY_NAME "VCMI" CACHE STRING "App name on the home screen")

View File

@ -178,7 +178,7 @@ else()
endif(ENABLE_DEBUG_CONSOLE)
add_dependencies(vcmiclient vcmiserver BattleAI StupidAI VCAI)
if(TBB_FOUND)
if(ENABLE_NULLKILLER_AI)
add_dependencies(vcmiclient Nullkiller)
endif()
if(APPLE_IOS)