summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Drahoš <drahosp@gmail.com>2012-03-19 10:19:24 +0100
committerPeter Drahoš <drahosp@gmail.com>2012-03-19 10:19:24 +0100
commitff003bc446adeea1fc3f7848a0cd7e23357cef0e (patch)
treef6810dc229177a6aa7af41d69fb2412d8f4c38b8
parenteb7f7583aa49716626615d580b0a23c0d70776ea (diff)
downloadlua-ff003bc446adeea1fc3f7848a0cd7e23357cef0e.tar.gz
Fixed build issue on Linux when building luac
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cf521ca..7806059 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -157,8 +157,8 @@ set_target_properties ( liblua PROPERTIES OUTPUT_NAME lua CLEAN_DIRECT_OUTPUT 1
add_executable ( lua ${SRC_LUA} src/lua.rc )
target_link_libraries ( lua liblua )
-add_executable ( luac ${SRC_LUAC} src/luac.rc )
-target_link_libraries ( luac liblua )
+add_executable ( luac ${SRC_CORE} ${SRC_LIB} ${SRC_LUAC} src/luac.rc )
+target_link_libraries ( luac ${LIBS} )
install_executable ( lua luac )
install_library ( liblua )