Package: assimp
Triplet (tested): x64-windows-static
Problem:
find_package sets up the ASSIMP_LIBRARIES variable, but that variable only contains the release library for assimp-vc140-mt.lib. assimp-vc140-mtd.lib is present in the debug dir.
Repro:
vcpkg install assimp:x64-windows-static
cmake .. -G "Visual Studio 15 2017 Win64" -DCMAKE_TOOLCHAIN_FILE="C:\Users\arrudaj\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows-static
CMakeLists.txt
cmake_minimum_required(VERSION 3.8)
find_package(assimp CONFIG REQUIRED)
message("assimp: ${ASSIMP_LIBRARIES}")
Output:
assimp: C:/Users/arrudaj/vcpkg/installed/x64-windows-static/lib/assimp-vc140-mt.lib
Package: assimp
Triplet (tested): x64-windows-static
Problem:
find_packagesets up theASSIMP_LIBRARIESvariable, but that variable only contains the release library for assimp-vc140-mt.lib. assimp-vc140-mtd.lib is present in the debug dir.Repro:
vcpkg install assimp:x64-windows-staticcmake .. -G "Visual Studio 15 2017 Win64" -DCMAKE_TOOLCHAIN_FILE="C:\Users\arrudaj\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows-staticCMakeLists.txt
Output: