CMakeLists.txt
changeset 9205 abce6011f86c
parent 9204 1c233176fffd
child 9208 acb2492288e5
equal deleted inserted replaced
9204:1c233176fffd 9205:abce6011f86c
   139 if(LUA_FOUND)
   139 if(LUA_FOUND)
   140     message(STATUS "Found LUA: ${LUA_DEFAULT}")
   140     message(STATUS "Found LUA: ${LUA_DEFAULT}")
   141 else()
   141 else()
   142     message(STATUS "LUA will be provided by the bundled sources")
   142     message(STATUS "LUA will be provided by the bundled sources")
   143     add_subdirectory(misc/liblua)
   143     add_subdirectory(misc/liblua)
   144     #linking with liblua.a requires system readline
       
   145     list(APPEND pascal_flags "-k${EXECUTABLE_OUTPUT_PATH}/lib${LUA_LIBRARY}.a" "-k-lreadline")
       
   146 endif()
   144 endif()
   147 
   145 
   148 
   146 
   149 #physfs discovery
   147 #physfs discovery
   150 if (${PHYSFS_SYSTEM})
   148 if (${PHYSFS_SYSTEM})