CMakeLists.txt
changeset 9213 e3d46d0bc7d0
parent 9212 1d4e1469940b
child 9214 bcb103c0a34a
equal deleted inserted replaced
9212:1d4e1469940b 9213:e3d46d0bc7d0
   151     else()
   151     else()
   152         message(FATAL_ERROR "Missing Lua! Rerun cmake with -DLUA_SYSTEM=off to build the internal version")
   152         message(FATAL_ERROR "Missing Lua! Rerun cmake with -DLUA_SYSTEM=off to build the internal version")
   153     endif()
   153     endif()
   154 else()
   154 else()
   155     message(STATUS "LUA will be provided by the bundled sources")
   155     message(STATUS "LUA will be provided by the bundled sources")
       
   156     set(lua_output_name "hwlua")
   156     add_subdirectory(misc/liblua)
   157     add_subdirectory(misc/liblua)
   157     set(lua_output_name "hwlua")
       
   158     list(APPEND pascal_flags "-XLAlua=${lua_output_name}" "-dLUA_INTERNAL")
   158     list(APPEND pascal_flags "-XLAlua=${lua_output_name}" "-dLUA_INTERNAL")
   159 endif()
   159 endif()
   160 
   160 
   161 
   161 
   162 #physfs discovery
   162 #physfs discovery