]> git.openstreetmap.org Git - nominatim.git/blobdiff - module/CMakeLists.txt
Merge pull request #1582 from mtmail/documentation-direct-link-osm2pgsql
[nominatim.git] / module / CMakeLists.txt
index 4dfc477cd8684a30a81791f99f8541c9ed0863b3..318e56501db660f1a1a4568772f89e93f58aa464 100644 (file)
@@ -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} MODSRCDIR=${CMAKE_CURRENT_SOURCE_DIR} 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}"
         )