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

Rolf Eike Beer notifications at github.com
Sat Oct 17 12:52:07 UTC 2015


> +CHECK_FUNCTION_EXISTS(posix_fadvise HAVE_POSIX_FADVISE)
> +CHECK_FUNCTION_EXISTS(sync_file_range HAVE_SYNC_FILE_RANGE)
> +CHECK_FUNCTION_EXISTS(fork HAVE_FORK)
> +
> +CHECK_TYPE_SIZE("off_t" SIZEOF_OFF_T)
> +
> +if (NOT WIN32 AND NOT APPLE AND NOT HAVE_LSEEK64 AND NOT SIZEOF_OFF_T EQUAL 8)
> +  message(FATAL_ERROR "Flat nodes cache requires a 64 bit capable seek")
> +endif()
> +
> +#############################################################
> +# Find necessary libraries
> +#############################################################
> +
> +if (NOT EXTERNAL_LIBOSMIUM)
> +  set(OSMIUM_INCLUDE_DIR "contrib/libosmium")

This should become "${CMAKE_CURRENT_SOURCE_DIR}/contrib/libosmium" so it is an absolute path.

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


More information about the Tile-serving mailing list