equal
deleted
inserted
replaced
225 |
225 |
226 |
226 |
227 #lua discovery |
227 #lua discovery |
228 find_package(Lua) |
228 find_package(Lua) |
229 if(LUA_FOUND) |
229 if(LUA_FOUND) |
230 message(STATUS "LUA found: ${LUA_DEFAULT}") |
230 message(STATUS "Found LUA: ${LUA_DEFAULT}") |
231 else() |
231 else() |
232 message(STATUS "Cound NOT find LUA, building bundled dependency") |
232 message(STATUS "LUA will be provided by the bundled sources") |
233 add_subdirectory(misc/liblua) |
233 add_subdirectory(misc/liblua) |
234 #linking with liblua.a requires system readline -- this works everywhere, right? |
234 #linking with liblua.a requires system readline -- this works everywhere, right? |
235 set(pascal_flags "-k${EXECUTABLE_OUTPUT_PATH}/lib${LUA_LIBRARY}.a" "-k-lreadline" ${pascal_flags}) |
235 set(pascal_flags "-k${EXECUTABLE_OUTPUT_PATH}/lib${LUA_LIBRARY}.a" "-k-lreadline" ${pascal_flags}) |
236 endif() |
236 endif() |
237 |
237 |