Changed: Search for default installation paths under Windows

This commit is contained in:
kervala 2013-10-21 17:50:21 +02:00
parent 8c046cf4c0
commit 1e5fe9a8c1

View file

@ -49,7 +49,11 @@
FIND_PROGRAM(Mercurial_HG_EXECUTABLE hg FIND_PROGRAM(Mercurial_HG_EXECUTABLE hg
DOC "mercurial command line client" DOC "mercurial command line client"
HINTS /opt/local/bin) PATHS
/opt/local/bin
"C:/Program Files/TortoiseHg"
"C:/Program Files (x86)/TortoiseHg"
)
MARK_AS_ADVANCED(Mercurial_HG_EXECUTABLE) MARK_AS_ADVANCED(Mercurial_HG_EXECUTABLE)
IF(Mercurial_HG_EXECUTABLE) IF(Mercurial_HG_EXECUTABLE)