more sanity checks for pyosmium tools

This commit is contained in:
Sarah Hoffmann
2018-07-17 21:54:37 +02:00
parent b7abc8566e
commit 83270557a7
2 changed files with 17 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ link_directories(${PostgreSQL_LIBRARY_DIRS})
find_program(PYOSMIUM pyosmium-get-changes)
if (NOT EXISTS "${PYOSMIUM}")
set(PYOSMIUM_PATH "/nonexistent")
set(PYOSMIUM_PATH "")
message(WARNING "pyosmium-get-changes not found (required for updates)")
else()
set(PYOSMIUM_PATH "${PYOSMIUM}")