mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 12:41:38 +08:00
Stop forcing static linkage
This commit is contained in:
parent
dc008d14a9
commit
4fab470553
@ -5,11 +5,6 @@ if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL WindowsStore)
|
||||
message(FATAL_ERROR "Error: UWP builds are currently not supported.")
|
||||
endif()
|
||||
|
||||
# This library itself would would as static library, but it is used by gtkmm, atkmm & pangomm which are all set to ONLY_DYNAMIC LIBRARY
|
||||
# Having multiple dynamic libaries linking the same static library causes multiple copies of its static data to be present in the executable
|
||||
# leading to confusing and hard-to-debug runtime effects.
|
||||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
||||
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/glibmm-2.52.1)
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.52/glibmm-2.52.1.tar.xz"
|
||||
|
Loading…
Reference in New Issue
Block a user