1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-29 21:56:54 +02:00

Move find_package for TBB on top for consistency with other

This commit is contained in:
Hennadii Chernyshchyk 2022-12-15 02:21:44 +02:00
parent 37068a75b3
commit 3322ad9501
No known key found for this signature in database
GPG Key ID: 24623302B8395825
2 changed files with 7 additions and 8 deletions

View File

@ -8,14 +8,6 @@ else()
option(FORCE_BUNDLED_FL "Force to use FuzzyLite included into VCMI's source tree" OFF)
endif()
if(ENABLE_NULLKILLER_AI)
find_package(TBB REQUIRED)
if(MSVC)
install_vcpkg_imported_tgt(TBB::tbb)
endif()
endif()
if(NOT FORCE_BUNDLED_FL)
find_package(fuzzylite)
else()

View File

@ -320,6 +320,13 @@ if(ENABLE_LAUNCHER OR ENABLE_EDITOR)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets Network)
endif()
if(ENABLE_NULLKILLER_AI)
find_package(TBB REQUIRED)
if(MSVC)
install_vcpkg_imported_tgt(TBB::tbb)
endif()
endif()
if(ENABLE_LUA)
find_package(luajit)
# MXE paths hardcoded for current dependencies pack - tried and could not make it work another way