aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/vcpkg/uhd-x64-windows-static-md.cmake
blob: ef577045dc3a9e88984372f731874ed074068999 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
set(VCPKG_TARGET_ARCHITECTURE x64)
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()