Mercurial > trustbridge
diff cmake/FindHg.cmake @ 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 | b8b3d922bf0d |
children |
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)