--- a/misc/liblua/CMakeLists.txt Wed Jun 12 09:49:46 2013 +0200
+++ b/misc/liblua/CMakeLists.txt Wed Jun 12 11:17:54 2013 +0200
@@ -13,13 +13,14 @@
set_target_properties(lua PROPERTIES
VERSION "5.1.4"
- SOVERSION 1)
+ SOVERSION 1
+ 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})
get_target_property(lua_fullpath lua LOCATION)
-set(LUA_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE STRING "" FORCE)
-set(LUA_LIBRARY ${lua_fullpath} CACHE STRING "" FORCE)
+set(LUA_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE STRING "Lua include dir" FORCE)
+set(LUA_LIBRARY ${lua_fullpath} CACHE STRING "Lua library" FORCE)