[PATCH 3 of 4] Fix findHg to work from the repo

Wald Commits scm-commit at wald.intevation.org
Tue Apr 29 19:05:09 CEST 2014


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1398790605 0
# Node ID a2998ae79436e50bc694df7493a14cc52dfd2976
# Parent  c262ee333c56b701709a56e6bc643f3f279e445e
Fix findHg to work from the repo

diff -r c262ee333c56 -r a2998ae79436 cmake/FindHg.cmake
--- a/cmake/FindHg.cmake	Tue Apr 29 16:26:59 2014 +0000
+++ b/cmake/FindHg.cmake	Tue Apr 29 16:56:45 2014 +0000
@@ -42,7 +42,7 @@
 
 # Handle the QUIETLY and REQUIRED arguments and set HG_FOUND to TRUE if
 # all listed variables are TRUE
-include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
+include(FindPackageHandleStandardArgs)
 find_package_handle_standard_args(Hg
                                   REQUIRED_VARS HG_EXECUTABLE
                                   VERSION_VAR HG_VERSION_STRING)


More information about the Trustbridge-commits mailing list