diff options
Diffstat (limited to 'ports/lua')
| -rw-r--r-- | ports/lua/CONTROL | 3 | ||||
| -rw-r--r-- | ports/lua/portfile.cmake | 2 | ||||
| -rw-r--r-- | ports/lua/usage | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/ports/lua/CONTROL b/ports/lua/CONTROL index 72839f972..1ffec4aa3 100644 --- a/ports/lua/CONTROL +++ b/ports/lua/CONTROL @@ -1,5 +1,6 @@ Source: lua -Version: 5.3.5-5 +Version: 5.3.5 +Port-Version: 6 Homepage: https://www.lua.org Description: a powerful, fast, lightweight, embeddable scripting language diff --git a/ports/lua/portfile.cmake b/ports/lua/portfile.cmake index 823bd6555..cc3c07465 100644 --- a/ports/lua/portfile.cmake +++ b/ports/lua/portfile.cmake @@ -44,7 +44,7 @@ vcpkg_copy_pdbs() vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/lua) if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) - if(NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL WindowsStore) + if(VCPKG_TARGET_IS_WINDOWS) file(READ ${CURRENT_PACKAGES_DIR}/include/luaconf.h LUA_CONF_H) string(REPLACE "defined(LUA_BUILD_AS_DLL)" "1" LUA_CONF_H "${LUA_CONF_H}") file(WRITE ${CURRENT_PACKAGES_DIR}/include/luaconf.h "${LUA_CONF_H}") diff --git a/ports/lua/usage b/ports/lua/usage index 8a11e20b9..e27f6392d 100644 --- a/ports/lua/usage +++ b/ports/lua/usage @@ -1,7 +1,7 @@ Use this package via the module FindLua that comes with CMake. To use in your CMakeLists.txt:
include(FindLua)
- find_package(lua REQUIRED)
+ find_package(Lua REQUIRED)
target_link_libraries(main PRIVATE ${LUA_LIBRARIES})
target_include_directories(main PRIVATE ${LUA_INCLUDE_DIR})
|
