aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/vcpkg/uhd-x86-windows-static-md.cmake
blob: c8d09179f6e32339a434b09d2a3e7ff71e135497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
set(VCPKG_TARGET_ARCHITECTURE x86)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)
# uhd dynamic links for boost-test and libusb.
# The other boost dependencies are static.
# This maintains historical compatibility
# with previous binaries.
if (PORT STREQUAL boost-test)
    set(VCPKG_LIBRARY_LINKAGE dynamic)
endif()

if (PORT STREQUAL libusb)
    set(VCPKG_LIBRARY_LINKAGE dynamic)
endif()