mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
Dynamically link lua.dll to lua.exe
For lua.exe to load C modules which are linked against lua, it must itself be linked against lua, otherwise loading the module fails.
This commit is contained in:
parent
548b7f6919
commit
493d94e296
@ -56,9 +56,10 @@ INSTALL ( TARGETS lua
|
||||
|
||||
IF (NOT DEFINED SKIP_INSTALL_TOOLS)
|
||||
ADD_EXECUTABLE ( luac src/luac.c ${SRC_LIBLUA} ) # compiler
|
||||
ADD_EXECUTABLE ( luai src/lua.c ${SRC_LIBLUA} ) # interpreter
|
||||
ADD_EXECUTABLE ( luai src/lua.c ) # interpreter
|
||||
TARGET_LINK_LIBRARIES ( luai lua )
|
||||
SET_TARGET_PROPERTIES ( luai PROPERTIES OUTPUT_NAME lua PDB_NAME luai )
|
||||
INSTALL ( TARGETS luai luac RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/tools )
|
||||
INSTALL ( TARGETS luai luac lua RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/tools )
|
||||
ENDIF ()
|
||||
|
||||
IF (NOT DEFINED SKIP_INSTALL_HEADERS)
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: lua
|
||||
Version: 5.3.4-1
|
||||
Version: 5.3.4-2
|
||||
Description: a powerful, fast, lightweight, embeddable scripting language
|
||||
|
Loading…
x
Reference in New Issue
Block a user