[simdjson] Fix dynamic usage (#16105)

* [simdjson] Update to 0.8.1

* Update versions

* Update to 0.8.2

* Update versions

* Format vcpkg.json

* Update versions

* Update versions/s-/simdjson.json
This commit is contained in:
NancyLi1013 2021-05-27 05:53:59 +08:00 committed by GitHub
parent 2462a956c8
commit b7147872b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 2 deletions

View File

@ -26,6 +26,13 @@ vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/simdjson.h
"#if SIMDJSON_USING_LIBRARY"
"#if 1"
)
endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

View File

@ -1,6 +1,7 @@
{
"name": "simdjson",
"version": "0.9.2",
"port-version": 1,
"description": "A extremely fast JSON library that can parse gigabytes of JSON per second",
"homepage": "https://simdjson.org/",
"license": "Apache-2.0",

View File

@ -5630,7 +5630,7 @@
},
"simdjson": {
"baseline": "0.9.2",
"port-version": 0
"port-version": 1
},
"simple-fft": {
"baseline": "2020-06-14",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c9528b67438ec071c4108f925f3976b937f91469",
"version": "0.9.2",
"port-version": 1
},
{
"git-tree": "821a523f19a2de0c686d119e17599f95fcd44ad1",
"version": "0.9.2",