I use vcpkg to build a number of packages on Linux as shared libraries (.so-files) using the setting
set(VCPKG_LIBRARY_LINKAGE dynamic)
in the tr