-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[icu] Add host tool path #29329
[icu] Add host tool path #29329
Conversation
works fine for me |
ports/icu/portfile.cmake
Outdated
set(TOOL_PATH "${CURRENT_HOST_INSTALLED_DIR}/tools/${PORT}") | ||
if(CMAKE_HOST_WIN32 AND VCPKG_TARGET_IS_MINGW AND NOT HOST_TRIPLET MATCHES "mingw") | ||
# Assuming no cross compiling because the host (windows) pkgdata tool doesn't | ||
# use the '/' path separator when creating compiler commands for mingw bash. | ||
elseif(VCPKG_CROSSCOMPILING) | ||
set(TOOL_PATH "${CURRENT_HOST_INSTALLED_DIR}/tools/${PORT}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this line need to be moved? AFAICS it is only used near the old location.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assumed x86-windows
or x64-linux-dynamic
are not crosscompiling but will still need the host tool path set to build. However, looking at it again now it seems that the build succeeded and only the copy command failed.
Will revert
Fixes #29322