Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Commit ff003bc

Browse files
committed
Fixed build issue on Linux when building luac
1 parent eb7f758 commit ff003bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ set_target_properties ( liblua PROPERTIES OUTPUT_NAME lua CLEAN_DIRECT_OUTPUT 1
157157
add_executable ( lua ${SRC_LUA} src/lua.rc )
158158
target_link_libraries ( lua liblua )
159159

160-
add_executable ( luac ${SRC_LUAC} src/luac.rc )
161-
target_link_libraries ( luac liblua )
160+
add_executable ( luac ${SRC_CORE} ${SRC_LIB} ${SRC_LUAC} src/luac.rc )
161+
target_link_libraries ( luac ${LIBS} )
162162

163163
install_executable ( lua luac )
164164
install_library ( liblua )

0 commit comments

Comments
 (0)