mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 03:13:03 +08:00
[lua] Compile as position-independent code (#11163)
This commit is contained in:
parent
263ba43c6d
commit
147f02caff
@ -52,6 +52,7 @@ ENDIF ()
|
||||
|
||||
#DLL
|
||||
ADD_LIBRARY ( lua ${SRC_LIBLUA} )
|
||||
SET_PROPERTY (TARGET lua PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
IF (COMPILE_AS_CPP)
|
||||
SET_TARGET_PROPERTIES(lua PROPERTIES OUTPUT_NAME "lua-c++")
|
||||
ENDIF()
|
||||
|
@ -1,5 +1,5 @@
|
||||
Source: lua
|
||||
Version: 5.3.5-3
|
||||
Version: 5.3.5-4
|
||||
Homepage: https://www.lua.org
|
||||
Description: a powerful, fast, lightweight, embeddable scripting language
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user