mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Call install_vcpkg_imported_tgt after initializing BIN_DIR
Call it inside AI/CMakeLists.txt as it was before.
This commit is contained in:
parent
3322ad9501
commit
d7fbd4aa66
@ -8,6 +8,11 @@ else()
|
||||
option(FORCE_BUNDLED_FL "Force to use FuzzyLite included into VCMI's source tree" OFF)
|
||||
endif()
|
||||
|
||||
if(TBB_FOUND AND MSVC)
|
||||
install_vcpkg_imported_tgt(TBB::tbb)
|
||||
endif()
|
||||
|
||||
|
||||
if(NOT FORCE_BUNDLED_FL)
|
||||
find_package(fuzzylite)
|
||||
else()
|
||||
|
@ -322,9 +322,6 @@ endif()
|
||||
|
||||
if(ENABLE_NULLKILLER_AI)
|
||||
find_package(TBB REQUIRED)
|
||||
if(MSVC)
|
||||
install_vcpkg_imported_tgt(TBB::tbb)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(ENABLE_LUA)
|
||||
|
Loading…
Reference in New Issue
Block a user