[Tile-serving] [osm2pgsql] Add cmake build scripts and appveyor.yml (#460)
Rolf Eike Beer
notifications at github.com
Sat Oct 17 12:56:16 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)
Should be removed, the libosmium include path was already set above, this would only duplicate it and might cause troube when an external libosmium is used.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/460/files#r42309019
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151017/8f7d6cc1/attachment-0001.html>
More information about the Tile-serving
mailing list