1
0

if enable postgresql, set path include fixed to /usr/include/postgresql

This commit is contained in:
mckaygerhard 2022-12-30 11:09:47 -04:00
parent 2647279e44
commit b3953c86f6

View File

@ -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)