فهرست منبع

Add TBB in conanfile and CMakeLists

Simeon Manolov 1 سال پیش
والد
کامیت
41a19bcdf3
2فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 2 0
      AI/BattleAI/CMakeLists.txt
  2. 1 1
      conanfile.py

+ 2 - 0
AI/BattleAI/CMakeLists.txt

@@ -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()

+ 1 - 1
conanfile.py

@@ -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