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:
parent
37068a75b3
commit
3322ad9501
@ -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()
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user