File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,11 @@ set_target_properties(lua PROPERTIES
6767# the amalgamated runtime, so we link it against the library we just built
6868# instead of archiving it inside liblua.a.
6969if (EXISTS "${LUA_ONELUA} " )
70- add_executable (lua "${LUA_ONELUA} " )
71- target_link_libraries (lua PRIVATE lua)
72- target_include_directories (lua PRIVATE $<BUILD_INTERFACE:${LUA_SOURCE_DIR} >)
73- install (TARGETS lua RUNTIME DESTINATION "bin" )
70+ add_executable (lua-bin "${LUA_ONELUA} " )
71+ set_target_properties (lua-bin PROPERTIES OUTPUT_NAME lua)
72+ target_link_libraries (lua-bin PRIVATE lua)
73+ target_include_directories (lua-bin PRIVATE $<BUILD_INTERFACE:${LUA_SOURCE_DIR} >)
74+ install (TARGETS lua-bin RUNTIME DESTINATION "bin" )
7475endif ()
7576
7677install (TARGETS lua
You can’t perform that action at this time.
0 commit comments