diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/icu/portfile.cmake | 5 | ||||
| -rw-r--r-- | ports/icu/vcpkg.json | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ports/icu/portfile.cmake b/ports/icu/portfile.cmake index bd67c0711..9731bf5b4 100644 --- a/ports/icu/portfile.cmake +++ b/ports/icu/portfile.cmake @@ -35,7 +35,10 @@ set(DEBUG_TRIPLET ${TARGET_TRIPLET}-dbg) if(NOT "${TARGET_TRIPLET}" STREQUAL "${HOST_TRIPLET}") # cross compiling - list(APPEND CONFIGURE_OPTIONS "--with-cross-build=${_VCPKG_INSTALLED_DIR}/${HOST_TRIPLET}/tools/${PORT}") + set(TOOL_PATH "${CURRENT_HOST_INSTALLED_DIR}/tools/${PORT}") + # convert to unix path + string(REGEX REPLACE "^([a-zA-Z]):/" "/\\1/" _VCPKG_TOOL_PATH "${TOOL_PATH}") + list(APPEND CONFIGURE_OPTIONS "--with-cross-build=${_VCPKG_TOOL_PATH}") endif() vcpkg_configure_make( diff --git a/ports/icu/vcpkg.json b/ports/icu/vcpkg.json index 4473713fa..c1e80e530 100644 --- a/ports/icu/vcpkg.json +++ b/ports/icu/vcpkg.json @@ -1,7 +1,7 @@ { "name": "icu", "version": "69.1", - "port-version": 13, + "port-version": 14, "description": "Mature and widely used Unicode and localization library.", "homepage": "http://icu-project.org/apiref/icu4c/", "supports": "!uwp", |
