summaryrefslogtreecommitdiffstats
path: root/Modules/FindPostgreSQL.cmake
diff options
context:
space:
mode:
authorTamar Kranenburg <info@takar.nl>2015-05-30 13:17:47 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-01 14:50:27 (GMT)
commit8bd9505976731a24d07ee7d52e130e3d6521d1ed (patch)
tree686222f16ad74a916cd5c3645610c573e64c6d91 /Modules/FindPostgreSQL.cmake
parenta68e9b7cae123d8388b5aa55d991df86aaf18d43 (diff)
downloadCMake-8bd9505976731a24d07ee7d52e130e3d6521d1ed.zip
CMake-8bd9505976731a24d07ee7d52e130e3d6521d1ed.tar.gz
CMake-8bd9505976731a24d07ee7d52e130e3d6521d1ed.tar.bz2
FindPostgreSQL: Add help text for PostgreSQL_LIBRARY cache entry
The PostgreSQL_LIBRARY_DIR_MESSAGE variable was set with the needed text but never referenced.
Diffstat (limited to 'Modules/FindPostgreSQL.cmake')
-rw-r--r--Modules/FindPostgreSQL.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindPostgreSQL.cmake b/Modules/FindPostgreSQL.cmake
index fba0ca0..e3541bc 100644
--- a/Modules/FindPostgreSQL.cmake
+++ b/Modules/FindPostgreSQL.cmake
@@ -143,6 +143,8 @@ find_library(PostgreSQL_LIBRARY
${PostgreSQL_ROOT_DIRECTORIES}
PATH_SUFFIXES
lib
+ # Help the user find it if we cannot.
+ DOC "The ${PostgreSQL_LIBRARY_DIR_MESSAGE}"
)
get_filename_component(PostgreSQL_LIBRARY_DIR ${PostgreSQL_LIBRARY} PATH)