X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c96e71a3d711722cef00cc983ef7f3c9f011d70d..3db2b05069d68f8703a696273f4fdfc9fe6a445e:/module/CMakeLists.txt diff --git a/module/CMakeLists.txt b/module/CMakeLists.txt index 5e507a9e..318e5650 100644 --- a/module/CMakeLists.txt +++ b/module/CMakeLists.txt @@ -1,6 +1,6 @@ # just use the pgxs makefile ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/dummy - COMMAND PGXS=${PGXS} PG_CONFIG=${PG_CONFIG} make -f ${CMAKE_CURRENT_SOURCE_DIR}/Makefile + COMMAND PGXS=${PGXS} PG_CONFIG=${PG_CONFIG} MODSRCDIR=${CMAKE_CURRENT_SOURCE_DIR} $(MAKE) -f ${CMAKE_CURRENT_SOURCE_DIR}/Makefile COMMENT "Running external makefile ${PGXS}" )