blob: d44284c9a27f0a9f295cc160abb503b67d3dfe2d [file] [log] [blame]
add_current_postgresql_version()
if(POSTGRESQL_8_4_FOUND)
# Old versions of PostgreSQL ship with header files that need a patch to be
# compatible with C++
add_subdirectory(patch)
# Append directory with patched header file at beginning
include_directories(BEFORE SYSTEM ${CMAKE_CURRENT_BINARY_DIR}/patch/server)
endif(POSTGRESQL_8_4_FOUND)