summaryrefslogtreecommitdiffstats
path: root/Modules/FindPostgreSQL.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2012-09-08 17:03:26 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2012-09-08 22:39:47 (GMT)
commitff0d1a8d84754dd083d3a175696a3ad0c10ebe27 (patch)
tree5ee8b9f5ad104c54cb9537a71ad9cba264fb0886 /Modules/FindPostgreSQL.cmake
parentd35f552614014525b1de543dfe36be5e337a11d1 (diff)
downloadCMake-ff0d1a8d84754dd083d3a175696a3ad0c10ebe27.zip
CMake-ff0d1a8d84754dd083d3a175696a3ad0c10ebe27.tar.gz
CMake-ff0d1a8d84754dd083d3a175696a3ad0c10ebe27.tar.bz2
include FPHSA from current directory in all modules
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 b9440a8..6a1d349 100644
--- a/Modules/FindPostgreSQL.cmake
+++ b/Modules/FindPostgreSQL.cmake
@@ -146,7 +146,7 @@ if (PostgreSQL_INCLUDE_DIR AND EXISTS "${PostgreSQL_INCLUDE_DIR}/pg_config.h")
endif()
# Did we find anything?
-include(FindPackageHandleStandardArgs)
+include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
find_package_handle_standard_args(PostgreSQL
REQUIRED_VARS PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR PostgreSQL_TYPE_INCLUDE_DIR
VERSION_VAR PostgreSQL_VERSION_STRING)