]> git.openstreetmap.org Git - nominatim.git/blob - module/CMakeLists.txt
f4fabe42922ff8e376fdaeaa88ce9815e876dc64
[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