mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 05:43:03 +08:00
[v8] use right var (#39779)
This commit is contained in:
parent
5b6df61380
commit
7627de0377
@ -28,7 +28,7 @@ vcpkg_add_to_path(PREPEND "${GIT_PATH}")
|
||||
vcpkg_add_to_path(PREPEND "${PYTHON2_PATH}")
|
||||
vcpkg_add_to_path(PREPEND "${GN_PATH}")
|
||||
vcpkg_add_to_path(PREPEND "${NINJA_PATH}")
|
||||
if(WIN32)
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_acquire_msys(MSYS_ROOT PACKAGES pkg-config)
|
||||
vcpkg_add_to_path("${MSYS_ROOT}/usr/bin")
|
||||
endif()
|
||||
@ -129,16 +129,16 @@ file(MAKE_DIRECTORY "${SOURCE_PATH}/third_party/icu")
|
||||
configure_file("${CURRENT_PORT_DIR}/zlib.gn" "${SOURCE_PATH}/third_party/zlib/BUILD.gn" COPYONLY)
|
||||
configure_file("${CURRENT_PORT_DIR}/icu.gn" "${SOURCE_PATH}/third_party/icu/BUILD.gn" COPYONLY)
|
||||
file(WRITE "${SOURCE_PATH}/build/config/gclient_args.gni" "checkout_google_benchmark = false\n")
|
||||
if(WIN32)
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
string(REGEX REPLACE "\\\\+$" "" WindowsSdkDir $ENV{WindowsSdkDir})
|
||||
file(APPEND "${SOURCE_PATH}/build/config/gclient_args.gni" "windows_sdk_path = \"${WindowsSdkDir}\"\n")
|
||||
endif()
|
||||
|
||||
if(UNIX)
|
||||
if(VCPKG_TARGET_IS_LINUX)
|
||||
set(UNIX_CURRENT_INSTALLED_DIR ${CURRENT_INSTALLED_DIR})
|
||||
set(LIBS "-ldl -lpthread")
|
||||
set(REQUIRES ", gmodule-2.0, gobject-2.0, gthread-2.0")
|
||||
elseif(WIN32)
|
||||
elseif(VCPKG_TARGET_IS_WINDOWS)
|
||||
execute_process(COMMAND cygpath "${CURRENT_INSTALLED_DIR}" OUTPUT_VARIABLE UNIX_CURRENT_INSTALLED_DIR)
|
||||
string(STRIP ${UNIX_CURRENT_INSTALLED_DIR} UNIX_CURRENT_INSTALLED_DIR)
|
||||
set(LIBS "-lWinmm -lDbgHelp")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "v8",
|
||||
"version": "9.1.269.39",
|
||||
"port-version": 7,
|
||||
"port-version": 8,
|
||||
"description": "Google Chrome's JavaScript engine",
|
||||
"homepage": "https://v8.dev",
|
||||
"license": "BSD-3-Clause",
|
||||
|
@ -9118,7 +9118,7 @@
|
||||
},
|
||||
"v8": {
|
||||
"baseline": "9.1.269.39",
|
||||
"port-version": 7
|
||||
"port-version": 8
|
||||
},
|
||||
"valijson": {
|
||||
"baseline": "1.0.2",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "179add8a5050b88cc2b9ffaf5a45954e9cfbc697",
|
||||
"version": "9.1.269.39",
|
||||
"port-version": 8
|
||||
},
|
||||
{
|
||||
"git-tree": "c1c08507b831b135750030ed12b1d86e89c3462d",
|
||||
"version": "9.1.269.39",
|
||||
|
Loading…
Reference in New Issue
Block a user