summaryrefslogtreecommitdiff
path: root/Modules/FindPostgreSQL.cmake
diff options
context:
space:
mode:
authorTamar Kranenburg <info@takar.nl>2015-05-30 15:17:47 +0200
committerBrad King <brad.king@kitware.com>2015-06-01 10:50:27 -0400
commit8bd9505976731a24d07ee7d52e130e3d6521d1ed (patch)
tree686222f16ad74a916cd5c3645610c573e64c6d91 /Modules/FindPostgreSQL.cmake
parenta68e9b7cae123d8388b5aa55d991df86aaf18d43 (diff)
downloadcmake-8bd9505976731a24d07ee7d52e130e3d6521d1ed.tar.gz
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 fba0ca0e47..e3541bca30 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)