]> git.openstreetmap.org Git - nominatim.git/blobdiff - module/CMakeLists.txt
use chksql everywhere in lib/
[nominatim.git] / module / CMakeLists.txt
index 5e507a9e8eb2ee6037192b779f1e9afa4506b3a4..4dfc477cd8684a30a81791f99f8541c9ed0863b3 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} 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}"
         )