aboutsummaryrefslogtreecommitdiff
path: root/ports/ryu
diff options
context:
space:
mode:
authorgeorg-emg <71000124+georg-emg@users.noreply.github.com>2021-04-30 00:45:22 +0200
committerGitHub <noreply@github.com>2021-04-29 15:45:22 -0700
commit16cb5ff369b4997ddc8c2974106f7aecc1d1e78e (patch)
tree5280db1513258d05b287b03e0e51bcde9a6936b5 /ports/ryu
parent90e7eaf82432f9cafbf9fc4c7fb4565a6d3f30fd (diff)
downloadvcpkg-16cb5ff369b4997ddc8c2974106f7aecc1d1e78e.tar.gz
vcpkg-16cb5ff369b4997ddc8c2974106f7aecc1d1e78e.zip
[ryu] fixed syntax error in ryuConfig.cmake (#17306)
* ryuConfig.cmake now checks the target rather than the host system to decide whether to install ryu.lib or linryu.a * executed vcpkg x-add-version ryu * Update ports/ryu/ryuConfig.cmake Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * executed vcpkg x-add-version ryu * fixed a syntax error in ports/ryu/ryuConfig.cmake * vcpkg x-add-version ryu Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Diffstat (limited to 'ports/ryu')
-rw-r--r--ports/ryu/ryuConfig.cmake4
-rw-r--r--ports/ryu/vcpkg.json2
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/ryu/ryuConfig.cmake b/ports/ryu/ryuConfig.cmake
index 196301e4f..76e489d19 100644
--- a/ports/ryu/ryuConfig.cmake
+++ b/ports/ryu/ryuConfig.cmake
@@ -18,8 +18,8 @@ find_library(RYU_RELEASE_LIB ryu PATHS "${ROOT}/lib" NO_DEFAULT_PATH)
find_library(RYU_DEBUG_LIB ryu PATHS "${ROOT}/debug/lib" NO_DEFAULT_PATH)
find_library(RYUPF_RELEASE_LIB ryu_printf PATHS "${ROOT}/lib" NO_DEFAULT_PATH)
find_library(RYUPF_DEBUG_LIB ryu_printf PATHS "${ROOT}/debug/lib" NO_DEFAULT_PATH)
-set_library_target("RYU" "ryu" "${RYU_DEBUG_LIB} "${RYU_RELEASE_LIB}" "${ROOT}/include/")
-set_library_target("RYU" "ryu_printf" "${RYUPF_DEBUG_LIB} "${RYUPF_RELEASE_LIB}" "${ROOT}/include/")
+set_library_target("RYU" "ryu" "${RYU_DEBUG_LIB}" "${RYU_RELEASE_LIB}" "${ROOT}/include/")
+set_library_target("RYU" "ryu_printf" "${RYUPF_DEBUG_LIB}" "${RYUPF_RELEASE_LIB}" "${ROOT}/include/")
else()
set_library_target("RYU" "ryu" "${ROOT}/debug/lib/libryu.a" "${ROOT}/lib/libryu.a" "${ROOT}/include/")
set_library_target("RYU" "ryu_printf" "${ROOT}/debug/lib/libryu_printf.a" "${ROOT}/lib/libryu_printf.a" "${ROOT}/include/")
diff --git a/ports/ryu/vcpkg.json b/ports/ryu/vcpkg.json
index 93370f3a7..52d1ea6d7 100644
--- a/ports/ryu/vcpkg.json
+++ b/ports/ryu/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "ryu",
"version-string": "2.0",
- "port-version": 4,
+ "port-version": 5,
"description": "Ryu generates the shortest decimal representation of a floating point number that maintains round-trip safety.",
"homepage": "https://github.com/ulfjack/ryu",
"supports": "!(uwp | arm | x86)"