mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 04:53:02 +08:00
parent
87854cb16c
commit
ec79067966
@ -34,6 +34,12 @@ get_filename_component(LIBTINS_CMAKE_DIR "${LIBTINS_CMAKE_DIR}" PATH)
|
||||
set(LIBTINS_INCLUDE_DIRS "${LIBTINS_CMAKE_DIR}/include")
|
||||
]])
|
||||
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/tins/macros.h" "!defined(TINS_STATIC)" "1")
|
||||
else()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/tins/macros.h" "!defined(TINS_STATIC)" "0")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
# Handle copyright
|
||||
|
@ -1,8 +1,9 @@
|
||||
{
|
||||
"name": "libtins",
|
||||
"version": "4.3",
|
||||
"port-version": 4,
|
||||
"port-version": 5,
|
||||
"description": "High-level, multiplatform C++ network packet sniffing and crafting library",
|
||||
"license": "BSD-2-Clause",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
"boost-any",
|
||||
|
@ -3998,7 +3998,7 @@
|
||||
},
|
||||
"libtins": {
|
||||
"baseline": "4.3",
|
||||
"port-version": 4
|
||||
"port-version": 5
|
||||
},
|
||||
"libtomcrypt": {
|
||||
"baseline": "1.18.2",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9abc8b1a535ffaf99a680412cfd8f0c743c3fc6d",
|
||||
"version": "4.3",
|
||||
"port-version": 5
|
||||
},
|
||||
{
|
||||
"git-tree": "de1a1dc51c90ca57412fe5f8d57eeef42a41ec74",
|
||||
"version": "4.3",
|
||||
|
Loading…
Reference in New Issue
Block a user