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

alex85k notifications at github.com
Sat Oct 17 13:18:54 UTC 2015


> +message("Libraries used to build: " ${LIBS})
> +
> +
> +#############################################################
> +# Build there library and executable file
> +#############################################################
> +
> +set(HAVE_PTHREAD "${CMAKE_USE_PTHREADS_INIT}")
> +CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/cmake/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
> +
> +if (NOT HAVE_UNISTD_H)
> +   file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/unistd.h "// empty header\n")
> +endif()
> +
> +include_directories(${CMAKE_CURRENT_BINARY_DIR}) # for generated files
> +include_directories(contrib/libosmium)

Yes, that's just a forgotten duplicate. Removing...

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


More information about the Tile-serving mailing list