1
0
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:
Hennadii Chernyshchyk 2022-12-15 12:16:28 +02:00
parent 3322ad9501
commit d7fbd4aa66
No known key found for this signature in database
GPG Key ID: 24623302B8395825
2 changed files with 5 additions and 3 deletions

View File

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

View File

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