diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-28 15:27:30 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-28 15:27:30 (GMT) |
commit | 7603244509ad40a5109476f20542bd43354ceba7 (patch) | |
tree | e8676b7078ef74fa3584fb4e678cb20ca2935db6 /Modules/FindHTMLHelp.cmake | |
parent | 7db64cdb2831e76daf59fff3715ebb1fb1fc3747 (diff) | |
download | CMake-7603244509ad40a5109476f20542bd43354ceba7.zip CMake-7603244509ad40a5109476f20542bd43354ceba7.tar.gz CMake-7603244509ad40a5109476f20542bd43354ceba7.tar.bz2 |
ENH: use program files env for searching
Diffstat (limited to 'Modules/FindHTMLHelp.cmake')
-rw-r--r-- | Modules/FindHTMLHelp.cmake | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Modules/FindHTMLHelp.cmake b/Modules/FindHTMLHelp.cmake index 30d4467..7d9dfb4 100644 --- a/Modules/FindHTMLHelp.cmake +++ b/Modules/FindHTMLHelp.cmake @@ -1,8 +1,8 @@ # - This module looks for Microsoft HTML Help Compiler # It defines: -# HTML_HELP_COMPILER - path to the Compiler hhc.exe -# HTML_HELP_INCLUDE_PATH - include path for htmlhelp.h -# HTML_HELP_LIBRARY - path to the library htmlhelp.lib +# HTML_HELP_COMPILER : full path to the Compiler (hhc.exe) +# HTML_HELP_INCLUDE_PATH : include path to the API (htmlhelp.h) +# HTML_HELP_LIBRARY : full path to the library (htmlhelp.lib) # IF (WIN32) @@ -10,6 +10,7 @@ IF (WIN32) FIND_PROGRAM (HTML_HELP_COMPILER hhc "[HKEY_CURRENT_USER\\Software\\Microsoft\\HTML Help Workshop;InstallDir]" + "$ENV{ProgramFiles}/HTML Help Workshop" "C:/Program Files/HTML Help Workshop" ) @@ -19,6 +20,7 @@ IF (WIN32) htmlhelp.h "${HTML_HELP_COMPILER_PATH}/include" "[HKEY_CURRENT_USER\\Software\\Microsoft\\HTML Help Workshop;InstallDir]/include" + "$ENV{ProgramFiles}/HTML Help Workshop/include" "C:/Program Files/HTML Help Workshop/include" ) @@ -26,6 +28,7 @@ IF (WIN32) htmlhelp "${HTML_HELP_COMPILER_PATH}/lib" "[HKEY_CURRENT_USER\\Software\\Microsoft\\HTML Help Workshop;InstallDir]/lib" + "$ENV{ProgramFiles}/HTML Help Workshop/lib" "C:/Program Files/HTML Help Workshop/lib" ) |