[taocpp-json] Misc fixes (#39069)

Fixes:
~~~
CMake Warning (dev) at ports/taocpp-json/portfile.cmake:29:
  Syntax Warning in cmake code at column 90

  Argument not separated from preceding token by whitespace.
~~~
This commit is contained in:
Kai Pastor 2024-06-04 07:36:58 +02:00 committed by GitHub
parent 370a212399
commit 1c646b39bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 15 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# header-only library
set(VCPKG_BUILD_TYPE release) # header-only
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
@ -10,7 +10,6 @@ vcpkg_from_github(
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
OPTIONS
-DTAOCPP_JSON_BUILD_TESTS=OFF
-DTAOCPP_JSON_BUILD_EXAMPLES=OFF
@ -25,8 +24,10 @@ file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/share/doc"
)
# Handle copyright
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright"COPYONLY)
file(COPY "${SOURCE_PATH}/LICENSE.double-conversion" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
file(COPY "${SOURCE_PATH}/LICENSE.itoa" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
file(COPY "${SOURCE_PATH}/LICENSE.ryu" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
vcpkg_install_copyright(
FILE_LIST
"${SOURCE_PATH}/LICENSE"
"${SOURCE_PATH}/LICENSE.double-conversion"
"${SOURCE_PATH}/LICENSE.itoa"
"${SOURCE_PATH}/LICENSE.ryu"
)

View File

@ -1,7 +1,7 @@
{
"name": "taocpp-json",
"version-date": "2020-09-14",
"port-version": 3,
"port-version": 4,
"description": "C++ header-only JSON library",
"dependencies": [
{

View File

@ -8550,7 +8550,7 @@
},
"taocpp-json": {
"baseline": "2020-09-14",
"port-version": 3
"port-version": 4
},
"tap-windows6": {
"baseline": "9.21.2-0e30f5c",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "0f65d42ce52c1a7c42635e90f51af98f786ae9b2",
"version-date": "2020-09-14",
"port-version": 4
},
{
"git-tree": "3efce615deb5e4414df2c3731c1e8eae333d32c9",
"version-date": "2020-09-14",