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

Add TBB in conanfile and CMakeLists

This commit is contained in:
Simeon Manolov 2024-07-03 14:17:11 +03:00
parent 099a491762
commit 41a19bcdf3
No known key found for this signature in database
GPG Key ID: 0AAC6D4A304B5635
2 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,8 @@ 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

@ -19,9 +19,9 @@ class VCMI(ConanFile):
"sdl_image/[~2.0.5]",
"sdl_mixer/[~2.0.4]",
"sdl_ttf/[~2.0.18]",
"onetbb/[^2021.3]",
]
_nullkillerAIRequires = [
"onetbb/[^2021.3]",
]
requires = _libRequires + _clientRequires + _nullkillerAIRequires