mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 08:28:59 +08:00
[ChakraCore] enable building without dotnet sdk installed (#30614)
* Update portfile.cmake * Update vcpkg.json * Update baseline.json * Update chakracore.json * Update chakracore.json
This commit is contained in:
parent
6accd15d64
commit
6591bd9dfd
@ -10,14 +10,6 @@ vcpkg_from_github(
|
||||
add-missing-reference.patch # https://github.com/chakra-core/ChakraCore/pull/6862
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
find_path(COR_H_PATH cor.h)
|
||||
if(COR_H_PATH MATCHES "NOTFOUND")
|
||||
message(FATAL_ERROR "Could not find <cor.h>. Ensure the NETFXSDK is installed.")
|
||||
endif()
|
||||
get_filename_component(NETFXSDK_PATH "${COR_H_PATH}/../.." ABSOLUTE)
|
||||
endif()
|
||||
|
||||
set(BUILDTREE_PATH ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET})
|
||||
file(REMOVE_RECURSE ${BUILDTREE_PATH})
|
||||
file(COPY ${SOURCE_PATH}/ DESTINATION ${BUILDTREE_PATH})
|
||||
@ -31,7 +23,6 @@ if(WIN32)
|
||||
SOURCE_PATH "${BUILDTREE_PATH}"
|
||||
PROJECT_SUBPATH "Build/Chakra.Core.sln"
|
||||
OPTIONS
|
||||
"/p:DotNetSdkRoot=${NETFXSDK_PATH}/"
|
||||
"/p:CustomBeforeMicrosoftCommonTargets=${CMAKE_CURRENT_LIST_DIR}/no-warning-as-error.props"
|
||||
"/p:RuntimeLib=${CHAKRA_RUNTIME_LIB}"
|
||||
${PLATFORM_ARG}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "chakracore",
|
||||
"version-date": "2022-11-09",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "Core part of the Chakra Javascript engine",
|
||||
"homepage": "https://github.com/Microsoft/ChakraCore",
|
||||
"license": "MIT",
|
||||
|
@ -1458,7 +1458,7 @@
|
||||
},
|
||||
"chakracore": {
|
||||
"baseline": "2022-11-09",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"charls": {
|
||||
"baseline": "2.4.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "0e3461099e02572100a3a6731b04fa0c3d12b223",
|
||||
"version-date": "2022-11-09",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "637e8045c68adfe4a6164f368027093dffb79ab6",
|
||||
"version-date": "2022-11-09",
|
||||
|
Loading…
Reference in New Issue
Block a user