Skip to content

Commit 95b2f46

Browse files
committedJan 14, 2017
Fix compilation without PostgreSQL
1 parent bc7d81e commit 95b2f46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ if(ENABLE_POSTGRESQL)
107107
include_directories(${PostgreSQL_INCLUDE_DIR})
108108
set(POSTGRESQL_LIBRARY ${PostgreSQL_LIBRARIES})
109109
else()
110-
message(STATUS "PostgreSQL not found!")
110+
message(STATUS "PostgreSQL not found.")
111+
set(POSTGRESQL_LIBRARY "")
111112
endif()
112113
endif(ENABLE_POSTGRESQL)
113114

0 commit comments

Comments
 (0)
Please sign in to comment.