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

alex85k notifications at github.com
Sat Oct 17 12:57:03 UTC 2015


> +
> +list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
> +
> +SET(DATA_DIR \".\")
> +
> +OPTION(TEST_BUILD "Build with tests and strict options" OFF)
> +
> +if (NOT WIN32 AND NOT APPLE)
> +  # No need for this path, just a workaround to make cmake check pass on all systems
> +  set(PostgreSQL_TYPE_INCLUDE_DIR /usr/include)
> +endif()
> +
> +# Just in case user installed RPMs from http://yum.postgresql.org/
> +list(APPEND PostgreSQL_ADDITIONAL_SEARCH_PATHS /usr/pgsql-9.3 /usr/pgsql-9.4)
> +
> +if ("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}")

Thank you. First time I hear about such tricks... (copy-pasted in multiple projects) 

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


More information about the Tile-serving mailing list