diff --git a/ports/fast-float/portfile.cmake b/ports/fast-float/portfile.cmake index 4044e5871c..267abb3a28 100644 --- a/ports/fast-float/portfile.cmake +++ b/ports/fast-float/portfile.cmake @@ -1,19 +1,18 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO fastfloat/fast_float - REF v0.8.0 - SHA512 d3f39457859ff0132f773222db3684f9b1d4a8ed549dfceb7cfb12d8f5871f5282dfa9eb01d39646cf93ed42dd640cb6487831ec15079b4b154f5002ac74edd7 + REF v3.2.0 + SHA512 8c0819501f854688942bf2676a9592c537b14b472a942695d589a75499f43bef57a8cb98b41b285dcfc0122f804c85e477d5aee82750a69308bdbf16c98ce2a7 HEAD_REF master ) -vcpkg_configure_cmake( - SOURCE_PATH ${SOURCE_PATH} - PREFER_NINJA +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" ) -vcpkg_install_cmake() +vcpkg_cmake_install() -vcpkg_fixup_cmake_targets(CONFIG_PATH share/FastFloat TARGET_PATH share/FastFloat) +vcpkg_cmake_config_fixup(PACKAGE_NAME FastFloat CONFIG_PATH share/FastFloat) -file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) -file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") \ No newline at end of file +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") +file(INSTALL "${SOURCE_PATH}/LICENSE-MIT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) \ No newline at end of file diff --git a/ports/fast-float/vcpkg.json b/ports/fast-float/vcpkg.json index d750f44b29..b2155a266d 100644 --- a/ports/fast-float/vcpkg.json +++ b/ports/fast-float/vcpkg.json @@ -1,6 +1,16 @@ { "name": "fast-float", - "version-string": "0.8.0", + "version": "3.2.0", "description": "Fast and exact implementation of the C++ from_chars functions for float and double types: 4x faster than strtod", - "homepage": "https://github.com/fastfloat/fast_float" + "homepage": "https://github.com/fastfloat/fast_float", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] } diff --git a/versions/baseline.json b/versions/baseline.json index 9bbf991bc7..6ab6224c37 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2089,7 +2089,7 @@ "port-version": 1 }, "fast-float": { - "baseline": "0.8.0", + "baseline": "3.2.0", "port-version": 0 }, "fastcdr": { diff --git a/versions/f-/fast-float.json b/versions/f-/fast-float.json index 9bf69087ad..4097e5be9f 100644 --- a/versions/f-/fast-float.json +++ b/versions/f-/fast-float.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "ff47650c46181763025a2149a7753a56c5c1c83c", + "version": "3.2.0", + "port-version": 0 + }, { "git-tree": "9f7f16bfca48a406b8682f54fe86a7ca9ad895b5", "version-string": "0.8.0",