summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-07-15 13:04:27 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-07-15 13:04:27 (GMT)
commit595cbb493fcdbdae30ac5936c3bdfdedd75a19e7 (patch)
tree891fefcf00aba753c1a5f1181586d66a9c605035
parentc59ec2b7c8f24de9eceba141ae7b379806c37948 (diff)
parent58677c327fd4a47aa88efe121f290182b44d01f5 (diff)
downloadCMake-595cbb493fcdbdae30ac5936c3bdfdedd75a19e7.zip
CMake-595cbb493fcdbdae30ac5936c3bdfdedd75a19e7.tar.gz
CMake-595cbb493fcdbdae30ac5936c3bdfdedd75a19e7.tar.bz2
Merge topic 'fix-pq-libraries'
58677c32 FindPostgreSQL: Fix initialization of PostgreSQL_LIBRARIES
-rw-r--r--Modules/FindPostgreSQL.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPostgreSQL.cmake b/Modules/FindPostgreSQL.cmake
index d05d3da..32a3f0a 100644
--- a/Modules/FindPostgreSQL.cmake
+++ b/Modules/FindPostgreSQL.cmake
@@ -186,7 +186,7 @@ set(PostgreSQL_FOUND ${POSTGRESQL_FOUND})
if(PostgreSQL_FOUND)
set(PostgreSQL_INCLUDE_DIRS ${PostgreSQL_INCLUDE_DIR} ${PostgreSQL_TYPE_INCLUDE_DIR} )
set(PostgreSQL_LIBRARY_DIRS ${PostgreSQL_LIBRARY_DIR} )
- set(PostgreSQL_LIBRARIES ${PostgreSQL_LIBRARY_TO_FIND})
+ set(PostgreSQL_LIBRARIES ${PostgreSQL_LIBRARY})
endif()
mark_as_advanced(PostgreSQL_INCLUDE_DIR PostgreSQL_TYPE_INCLUDE_DIR PostgreSQL_LIBRARY )