Mercurial > trustbridge
changeset 535:a2998ae79436
Fix findHg to work from the repo
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 29 Apr 2014 16:56:45 +0000 |
parents | c262ee333c56 |
children | 82770fa41af9 |
files | cmake/FindHg.cmake |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)