[fmt] Changed library linkage to static. (#5688)

* [fmt] Changed library linkage to static.

* [fmt] Re-enabled shared build without breaking LTCG toolchains.
This commit is contained in:
Alexej Harm 2019-03-16 11:02:50 +01:00 committed by Victor Romero
parent 9637942a59
commit d7bf0e5819
2 changed files with 1 additions and 3 deletions

View File

@ -1,3 +1,3 @@
Source: fmt
Version: 5.3.0
Version: 5.3.0-1
Description: Formatting library for C++. It can be used as a safe alternative to printf or as a fast alternative to IOStreams.

View File

@ -6,7 +6,6 @@ vcpkg_from_github(
SHA512 9ef0f3d328681253c1e1776576d54d67dec49c19fd7fc422ae63c3610b01a3f05f6e83cdf5e913dfd09bac42e52fe35c38ebe1ea91f4207d226a32aaf69eb4a8
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
@ -14,7 +13,6 @@ vcpkg_configure_cmake(
-DFMT_CMAKE_DIR=share/fmt
-DFMT_TEST=OFF
-DFMT_DOC=OFF
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON
)
vcpkg_install_cmake()