Mercurial > trustbridge
comparison 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 |
comparison
equal
deleted
inserted
replaced
534:c262ee333c56 | 535:a2998ae79436 |
---|---|
40 unset(hg_version) | 40 unset(hg_version) |
41 endif() | 41 endif() |
42 | 42 |
43 # Handle the QUIETLY and REQUIRED arguments and set HG_FOUND to TRUE if | 43 # Handle the QUIETLY and REQUIRED arguments and set HG_FOUND to TRUE if |
44 # all listed variables are TRUE | 44 # all listed variables are TRUE |
45 include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) | 45 include(FindPackageHandleStandardArgs) |
46 find_package_handle_standard_args(Hg | 46 find_package_handle_standard_args(Hg |
47 REQUIRED_VARS HG_EXECUTABLE | 47 REQUIRED_VARS HG_EXECUTABLE |
48 VERSION_VAR HG_VERSION_STRING) | 48 VERSION_VAR HG_VERSION_STRING) |