]> git.openstreetmap.org Git - nominatim.git/blob - module/CMakeLists.txt
Merge remote-tracking branch 'upstream/master' into cmake-port
[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