if enable postgresql, set path include fixed to /usr/include/postgresql
This commit is contained in:
parent
2647279e44
commit
b3953c86f6
@ -163,7 +163,8 @@ if(ENABLE_POSTGRESQL)
|
||||
message(STATUS "PostgreSQL includes: ${PostgreSQL_INCLUDE_DIRS}")
|
||||
include_directories(${PostgreSQL_INCLUDE_DIRS})
|
||||
else()
|
||||
message(STATUS "PostgreSQL not found!")
|
||||
message(STATUS "PostgreSQL not found (maybe older or no cmake module)! disable, path is to /usr/include/postgresql/")
|
||||
set(PostgreSQL_TYPE_INCLUDE_DIR /usr/include/postgresql/)
|
||||
endif()
|
||||
endif(ENABLE_POSTGRESQL)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user