diff options
-rw-r--r-- | cmake/modules/FindHtmlViewer.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/modules/FindHtmlViewer.cmake b/cmake/modules/FindHtmlViewer.cmake index 038c957e89..0649693185 100644 --- a/cmake/modules/FindHtmlViewer.cmake +++ b/cmake/modules/FindHtmlViewer.cmake @@ -40,6 +40,11 @@ endif() include( FindPackageHandleStandardArgs ) find_package_handle_standard_args( HtmlViewer DEFAULT_MSG HTML_VIEWER_EXECUTABLE ) +if (NOT HTML_VIEWER_EXECUTABLE) + set(HTML_VIEWER_EXECUTABLE "") + set(HTMLVIEWER_FOUND ON) +endif() + # For compat with configure set( HTML_VIEWER ${HTML_VIEWER_EXECUTABLE} ) |