[Tile-serving] [openstreetmap/osm2pgsql] Added LuaJIT support (#810)

Sarah Hoffmann notifications at github.com
Mon Feb 26 20:21:33 UTC 2018


lonvia commented on this pull request.



> @@ -0,0 +1,63 @@
+# Locate LuaJIT library
+# This module defines
+#  LUAJIT_FOUND, if false, do not try to link to Lua
+#  LUA_LIBRARIES
+#  LUA_INCLUDE_DIR, where to find lua.h
+#  LUAJIT_VERSION_STRING, the version of Lua found (since CMake 2.8.8)
+
+## Copied from default CMake FindLua51.cmake

That's a fair point. In this case the FindLuaJIT script should be at least consistent about the variables it exports. Either make them all LUAJIT_* or LUA_*. The latter would keep the rest of the cmake file simpler.

Other than that, the PR looks alright to me. I haven't tested on other OSses, though.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/810#discussion_r170723109
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180226/6f511f7f/attachment-0001.html>


More information about the Tile-serving mailing list