# HG changeset patch
# User koda
# Date 1371048204 -7200
# Node ID e3d46d0bc7d0bf5003303a0eddf8745afa40b9bc
# Parent  1d4e1469940b913b2e3589e91e746890e6a4d071
code typos

diff -r 1d4e1469940b -r e3d46d0bc7d0 CMakeLists.txt
--- a/CMakeLists.txt	Wed Jun 12 12:18:03 2013 +0200
+++ b/CMakeLists.txt	Wed Jun 12 16:43:24 2013 +0200
@@ -153,8 +153,8 @@
     endif()
 else()
     message(STATUS "LUA will be provided by the bundled sources")
+    set(lua_output_name "hwlua")
     add_subdirectory(misc/liblua)
-    set(lua_output_name "hwlua")
     list(APPEND pascal_flags "-XLAlua=${lua_output_name}" "-dLUA_INTERNAL")
 endif()
 
diff -r 1d4e1469940b -r e3d46d0bc7d0 misc/liblua/CMakeLists.txt
--- a/misc/liblua/CMakeLists.txt	Wed Jun 12 12:18:03 2013 +0200
+++ b/misc/liblua/CMakeLists.txt	Wed Jun 12 16:43:24 2013 +0200
@@ -14,7 +14,7 @@
 set_target_properties(lua PROPERTIES
                           VERSION "5.1.4"
                           SOVERSION 1
-                          OUTPUT_NAME ${lua_output_name}))
+                          OUTPUT_NAME ${lua_output_name})
 install(TARGETS lua RUNTIME DESTINATION ${target_binary_install_dir}
                     LIBRARY DESTINATION ${target_library_install_dir}
                     ARCHIVE DESTINATION ${target_library_install_dir})