diff options
| author | Matthias C. M. Troffaes <matthias.troffaes@gmail.com> | 2020-09-05 04:11:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-04 20:11:41 -0700 |
| commit | d951a0033260a63e8d82c64ee1514b1c53364b55 (patch) | |
| tree | fdee0f5c2f79021d1dc4f351eef84659f2513c49 | |
| parent | f2fdeb52836b64f2ad12251af535193bfe92ed1a (diff) | |
| download | vcpkg-d951a0033260a63e8d82c64ee1514b1c53364b55.tar.gz vcpkg-d951a0033260a63e8d82c64ee1514b1c53364b55.zip | |
[fmt] Fix build error when build type is release. (#13352)
| -rw-r--r-- | ports/fmt/CONTROL | 1 | ||||
| -rw-r--r-- | ports/fmt/portfile.cmake | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ports/fmt/CONTROL b/ports/fmt/CONTROL index 8a5c423eb..356f69981 100644 --- a/ports/fmt/CONTROL +++ b/ports/fmt/CONTROL @@ -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. diff --git a/ports/fmt/portfile.cmake b/ports/fmt/portfile.cmake index f6126cd26..33529f65f 100644 --- a/ports/fmt/portfile.cmake +++ b/ports/fmt/portfile.cmake @@ -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" ) |
