[Tile-serving] [osm2pgsql] Add cmake build scripts and appveyor.yml (#460)

alex85k notifications at github.com
Fri Oct 16 15:44:50 UTC 2015


> +  set(OSMIUM_INCLUDE_DIR "contrib/libosmium")
> +endif()
> +
> +find_package(Osmium REQUIRED COMPONENTS io geos proj)
> +include_directories(${OSMIUM_INCLUDE_DIRS})
> +
> +find_package(Lua52)
> +if ( LUA_LIBRARIES )
> +include_directories(${LUA_INCLUDE_DIR})
> +set(HAVE_LUA 1)
> +else()
> +  message(STATUS "lua libraries not found. You will NOT be able to use lua scripts for tag transform.")
> +endif()
> +
> +# first try to find the version
> +find_package(Boost 1.48 REQUIRED COMPONENTS system chrono filesystem thread date_time)

On windows with static boost I could not get rid of unneeded libraries, will add them for MSVC only.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/460/files#r42257059
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151016/7fdc77a3/attachment.html>


More information about the Tile-serving mailing list