]> git.openstreetmap.org Git - nominatim.git/blob - module/CMakeLists.txt
Merge pull request #1582 from mtmail/documentation-direct-link-osm2pgsql
[nominatim.git] / module / CMakeLists.txt
1 # just use the pgxs makefile
2 ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/dummy
3         COMMAND PGXS=${PGXS} PG_CONFIG=${PG_CONFIG} MODSRCDIR=${CMAKE_CURRENT_SOURCE_DIR} $(MAKE) -f ${CMAKE_CURRENT_SOURCE_DIR}/Makefile
4         COMMENT "Running external makefile ${PGXS}"
5         )
6
7 ADD_CUSTOM_TARGET( nominatim_lib ALL
8         DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dummy
9         )
10