[lua] Add error message to feature `cpp` when building uwp (#19510)

* [lua] Add error message to the cpp selection feature when building uwp.

* version
This commit is contained in:
Jack·Boos·Yu 2021-08-19 08:18:05 +08:00 committed by GitHub
parent f0da48d233
commit c721ff6784
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 2 deletions

View File

@ -16,6 +16,9 @@ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
# Used in cmake wrapper
set(ENABLE_LUA_CPP 0)
if ("cpp" IN_LIST FEATURES)
if (VCPKG_TARGET_IS_UWP)
message(FATAL_ERROR "Feature cpp does not support uwp.")
endif()
set(ENABLE_LUA_CPP 1)
endif()

View File

@ -1,7 +1,7 @@
{
"name": "lua",
"version-semver": "5.4.3",
"port-version": 2,
"port-version": 3,
"description": "A powerful, fast, lightweight, embeddable scripting language",
"homepage": "https://www.lua.org",
"features": {

View File

@ -3890,7 +3890,7 @@
},
"lua": {
"baseline": "5.4.3",
"port-version": 2
"port-version": 3
},
"luabridge": {
"baseline": "2.6",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6a9a787a9369019f1dd867cc1c1d6c10296441d9",
"version-semver": "5.4.3",
"port-version": 3
},
{
"git-tree": "3be47dc8a0f0e6497caac10e26e2eaf8866b2990",
"version-semver": "5.4.3",