diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2021-08-19 08:18:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-18 17:18:05 -0700 |
| commit | c721ff67847649837274dfe3ee4cb658dc57baa1 (patch) | |
| tree | c2aedc9087f67067b121bce31c1f808307fdd266 /ports/lua | |
| parent | f0da48d233a260e40a65083cdcc5b6b1e9d02e29 (diff) | |
| download | vcpkg-c721ff67847649837274dfe3ee4cb658dc57baa1.tar.gz vcpkg-c721ff67847649837274dfe3ee4cb658dc57baa1.zip | |
[lua] Add error message to feature `cpp` when building uwp (#19510)
* [lua] Add error message to the cpp selection feature when building uwp.
* version
Diffstat (limited to 'ports/lua')
| -rw-r--r-- | ports/lua/portfile.cmake | 3 | ||||
| -rw-r--r-- | ports/lua/vcpkg.json | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ports/lua/portfile.cmake b/ports/lua/portfile.cmake index 89097096c..1a7fac53c 100644 --- a/ports/lua/portfile.cmake +++ b/ports/lua/portfile.cmake @@ -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() diff --git a/ports/lua/vcpkg.json b/ports/lua/vcpkg.json index 02dc73117..e381a077e 100644 --- a/ports/lua/vcpkg.json +++ b/ports/lua/vcpkg.json @@ -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": { |
