2024-07-03 03:34:40 +00:00
|
|
|
set(VCPKG_TARGET_ARCHITECTURE x64)
|
|
|
|
set(VCPKG_BUILD_TYPE release)
|
|
|
|
set(VCPKG_CMAKE_SYSTEM_NAME Linux)
|
|
|
|
set(VCPKG_FIXUP_ELF_RPATH ON)
|
2024-08-15 14:08:21 +00:00
|
|
|
|
|
|
|
if(${PORT} MATCHES "snappy|zlib|lz4|zstd")
|
|
|
|
set(VCPKG_CRT_LINKAGE static)
|
|
|
|
set(VCPKG_LIBRARY_LINKAGE static)
|
|
|
|
else()
|
|
|
|
set(VCPKG_CRT_LINKAGE dynamic)
|
|
|
|
set(VCPKG_LIBRARY_LINKAGE dynamic)
|
|
|
|
endif()
|