1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-02 00:10:22 +02:00

address code review comments

This commit is contained in:
Simeon Manolov 2024-07-08 00:02:01 +03:00
parent 41a19bcdf3
commit 601840eb5f
No known key found for this signature in database
GPG Key ID: 0AAC6D4A304B5635
3 changed files with 3 additions and 6 deletions

View File

@ -24,8 +24,6 @@ set(battleAI_HEADERS
BattleExchangeVariant.h
)
find_package(TBB REQUIRED)
if(NOT ENABLE_STATIC_LIBS)
list(APPEND battleAI_SRCS main.cpp StdInc.cpp)
endif()

View File

@ -519,7 +519,7 @@ if(ENABLE_LAUNCHER OR ENABLE_EDITOR)
endif()
endif()
if(ENABLE_NULLKILLER_AI AND ENABLE_CLIENT)
if(ENABLE_CLIENT)
find_package(TBB REQUIRED)
endif()

View File

@ -21,9 +21,8 @@ class VCMI(ConanFile):
"sdl_ttf/[~2.0.18]",
"onetbb/[^2021.3]",
]
_nullkillerAIRequires = [
]
requires = _libRequires + _clientRequires + _nullkillerAIRequires
requires = _libRequires + _clientRequires
options = {
"default_options_of_requirements": [True, False],