mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-30 05:09:01 +00:00
Meta: Pass C11 and C++17 flags to icu build on Windows
icu 75.x and higher requires C++17. This change is pulled from an abandoned PR to uprev vcpkg's version to 75. Presumably the flags should be set upstream as well in their configure.ac
This commit is contained in:
parent
ac3d9739b1
commit
86c5bde83f
Notes:
github-actions[bot]
2025-02-05 23:02:02 +00:00
Author: https://github.com/ADKaster
Commit: 86c5bde83f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3472
1 changed files with 5 additions and 0 deletions
|
@ -62,6 +62,11 @@ endif()
|
|||
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
list(APPEND CONFIGURE_OPTIONS --enable-icu-build-win)
|
||||
# https://github.com/microsoft/vcpkg/pull/38826/files#diff-ea2b03d0dcb43b39cfac7b4f96e0ba52a5e4f15c1df6986850e0d52d56229430R64
|
||||
if(NOT VCPKG_TARGET_IS_MINGW)
|
||||
string(APPEND VCPKG_C_FLAGS "/std:c11")
|
||||
string(APPEND VCPKG_CXX_FLAGS "/std:c++17")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if("tools" IN_LIST FEATURES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue