Skip to content

Commit

Permalink
fix: disable triplet compiler tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed May 31, 2023
1 parent 7a9ed3c commit 46d3f5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vcpkg-config/triplets/x64-windows-mixed.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ set(VCPKG_TARGET_ARCHITECTURE x64)

set(VCPKG_CRT_LINKAGE dynamic)

# Allow reusing cache across different versions of the compiler. This will be fine as long as the same or newer compiler is used
set(VCPKG_DISABLE_COMPILER_TRACKING ON)
set(VCPKG_PLATFORM_TOOLSET v142)

if(${PORT} MATCHES "libopenmpt|tesseract")
# this wants to be static, but there is a bug in the build process https://github.com/microsoft/vcpkg/issues/30030
set(VCPKG_LIBRARY_LINKAGE dynamic)
Expand Down

0 comments on commit 46d3f5c

Please sign in to comment.