summaryrefslogtreecommitdiffstats
path: root/Modules/FindPostgreSQL.cmake
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2016-07-14 16:16:59 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2016-07-14 16:18:26 (GMT)
commit58677c327fd4a47aa88efe121f290182b44d01f5 (patch)
treebe36b8a2c3b7cd6d380e9a2b44492fb042172ba6 /Modules/FindPostgreSQL.cmake
parenta6bd08992e128f33b98add6bce714e97e058d7f6 (diff)
downloadCMake-58677c327fd4a47aa88efe121f290182b44d01f5.zip
CMake-58677c327fd4a47aa88efe121f290182b44d01f5.tar.gz
CMake-58677c327fd4a47aa88efe121f290182b44d01f5.tar.bz2
FindPostgreSQL: Fix initialization of PostgreSQL_LIBRARIES
Diffstat (limited to 'Modules/FindPostgreSQL.cmake')
-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 )