aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraham Bloice <graham.bloice@trihedral.com>2017-11-07 13:35:34 +0000
committerGraham Bloice <graham.bloice@trihedral.com>2017-11-07 15:36:43 +0000
commit62e81c5846afab51757eb48826ac02522e9864f3 (patch)
treefd254ccc22b04958d0a1affd66bb45cce24858ab
parentdc0e6ccc9f9aaad7139c1edd3b723c4b939b15da (diff)
Open Windows CHM Help from Help menu.
Renable the link between the Menu help command and the locally installed CHM help file. This allows the user to acces the appropriate help built for their specific version rather than the latest version on the Wireshark web site. Change-Id: I7bb3d418ba405d6c7614ab6d52f7b0eda843d0de Reviewed-on: https://code.wireshark.org/review/24276 Petri-Dish: Graham Bloice <graham.bloice@trihedral.com> Tested-by: Petri Dish Buildbot Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
-rw-r--r--ui/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/CMakeLists.txt b/ui/CMakeLists.txt
index 275c8eda43..5c9950f247 100644
--- a/ui/CMakeLists.txt
+++ b/ui/CMakeLists.txt
@@ -19,7 +19,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
-
set(COMMON_UI_SRC
alert_box.c
capture.c
@@ -97,6 +96,11 @@ set_target_properties(ui PROPERTIES
FOLDER "UI"
)
+if (HTML_HELP_COMPILER)
+ add_definitions(-DHHC_DIR)
+ target_link_libraries(ui Htmlhelp.lib)
+endif()
+
CHECKAPI(
NAME
ui-base