]> git.openstreetmap.org Git - nominatim.git/blob - module/CMakeLists.txt
Merge pull request #629 from melvyn-sopacua/release-2.6.0a1
[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} ${CMAKE_MAKE_PROGRAM} -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