mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 12:35:37 +08:00
[fmt] Fix build error when build type is release. (#13352)
This commit is contained in:
parent
f2fdeb5283
commit
d951a00332
@ -1,4 +1,5 @@
|
||||
Source: fmt
|
||||
Version: 7.0.3
|
||||
Port-Version: 2
|
||||
Homepage: https://github.com/fmtlib/fmt
|
||||
Description: Formatting library for C++. It can be used as a safe alternative to printf or as a fast alternative to IOStreams.
|
||||
|
@ -51,7 +51,7 @@ if(VCPKG_TARGET_IS_WINDOWS)
|
||||
)
|
||||
endif()
|
||||
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
||||
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/share/fmt/fmt-targets-debug.cmake
|
||||
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/share/fmt/fmt-targets-release.cmake
|
||||
"lib/fmt.dll"
|
||||
"bin/fmt.dll"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user