diff options
Diffstat (limited to 'Modules/FindHhc.cmake')
-rw-r--r-- | Modules/FindHhc.cmake | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Modules/FindHhc.cmake b/Modules/FindHhc.cmake index 0df243d61c..859f0617c6 100644 --- a/Modules/FindHhc.cmake +++ b/Modules/FindHhc.cmake @@ -2,8 +2,14 @@ # this module looks for Microsoft HTML Help Compiler # -FIND_PROGRAM(HHC - hhc - "C:/Program Files/HTML Help Workshop" - "[HKEY_CURRENT_USER\\Software\\Microsoft\\HTML Help Workshop;InstallDir]" -) +IF (WIN32) + FIND_PROGRAM(HHC + hhc + "C:/Program Files/HTML Help Workshop" + "[HKEY_CURRENT_USER\\Software\\Microsoft\\HTML Help Workshop;InstallDir]" + ) + + MARK_AS_ADVANCED( + HHC + ) +ENDIF (WIN32) |