mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 04:53:02 +08:00
[liblzma] fix emscripten build (#29561)
* fix wasm32 * port-version * add ver
This commit is contained in:
parent
e752415c5f
commit
371892cc20
@ -15,10 +15,16 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
tools BUILD_TOOLS
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "wasm32")
|
||||
set(WASM_OPTIONS -DCMAKE_C_BYTE_ORDER=LITTLE_ENDIAN -DCMAKE_CXX_BYTE_ORDER=LITTLE_ENDIAN)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
${FEATURE_OPTIONS}
|
||||
${WASM_OPTIONS}
|
||||
-DBUILD_TESTING=OFF
|
||||
-DCREATE_XZ_SYMLINKS=OFF
|
||||
-DCREATE_LZMA_SYMLINKS=OFF
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "liblzma",
|
||||
"version-semver": "5.4.1",
|
||||
"port-version": 1,
|
||||
"description": "Compression library with an API similar to that of zlib.",
|
||||
"homepage": "https://tukaani.org/xz/",
|
||||
"license": null,
|
||||
|
@ -4078,7 +4078,7 @@
|
||||
},
|
||||
"liblzma": {
|
||||
"baseline": "5.4.1",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"libmad": {
|
||||
"baseline": "0.15.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9a3ebbf75e1c3adb76d7e71717c1f03bb291036a",
|
||||
"version-semver": "5.4.1",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "cb3a335e4a3b87257befc477154ee6901f3d7525",
|
||||
"version-semver": "5.4.1",
|
||||
|
Loading…
Reference in New Issue
Block a user