Fix compilation without PostgreSQL

This commit is contained in:
sfan5 2017-01-14 15:33:25 +01:00
parent bc7d81eb62
commit 95b2f46d7e

View File

@ -107,7 +107,8 @@ if(ENABLE_POSTGRESQL)
include_directories(${PostgreSQL_INCLUDE_DIR})
set(POSTGRESQL_LIBRARY ${PostgreSQL_LIBRARIES})
else()
message(STATUS "PostgreSQL not found!")
message(STATUS "PostgreSQL not found.")
set(POSTGRESQL_LIBRARY "")
endif()
endif(ENABLE_POSTGRESQL)