CMake properly detects PostgreSQL, fixes #1671 (#1672)

This commit is contained in:
Hampus Tågerud
2017-08-15 02:52:35 +02:00
committed by Aleksandar Fabijanic
parent 88634c0c1e
commit 7a172f9d2d
2 changed files with 1 additions and 74 deletions

View File

@@ -60,7 +60,7 @@ endif(ENABLE_DATA_MYSQL)
if(ENABLE_DATA_POSTGRESQL)
find_package(PostgreSQL)
if(POSTGRESQL_FOUND)
include_directories("${POSTGRESQL_INCLUDE_DIR}")
include_directories("${PostgreSQL_INCLUDE_DIR}")
if(POCO_VERBOSE_MESSAGES)
message(STATUS "PostgreSQL Support Enabled")
endif()