1 # just use the pgxs makefile
2 ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/dummy
3 COMMAND PGXS=${PGXS} PG_CONFIG=${PG_CONFIG} make -f ${CMAKE_CURRENT_SOURCE_DIR}/Makefile
4 COMMENT "Running external makefile ${PGXS}"
7 ADD_CUSTOM_TARGET( nominatim_lib ALL
8 DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dummy