mirror of
https://github.com/osm-search/Nominatim.git
synced 2025-01-07 14:01:56 +03:00
Merge pull request #644 from ldgeo/master
fix compilation error (cannot find -lpq)
This commit is contained in:
commit
0916d72ddf
@ -42,6 +42,8 @@ unset(PostgreSQL_TYPE_INCLUDE_DIR CACHE)
|
||||
set(PostgreSQL_TYPE_INCLUDE_DIR "/usr/include/")
|
||||
find_package(PostgreSQL REQUIRED)
|
||||
include_directories(${PostgreSQL_INCLUDE_DIRS})
|
||||
link_directories(${PostgreSQL_LIBRARY_DIRS})
|
||||
|
||||
find_program(OSMOSIS osmosis)
|
||||
if (NOT EXISTS "${OSMOSIS}")
|
||||
set(OSMOSIS_PATH "/nonexistent")
|
||||
|
Loading…
Reference in New Issue
Block a user