code typos
authorkoda
Wed, 12 Jun 2013 16:43:24 +0200
changeset 9213 e3d46d0bc7d0
parent 9212 1d4e1469940b
child 9214 bcb103c0a34a
code typos
CMakeLists.txt
misc/liblua/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()
 
--- 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})