summaryrefslogtreecommitdiff
path: root/CMakeOptions.txt
diff options
context:
space:
mode:
authorGraham Bloice <graham.bloice@trihedral.com>2014-04-26 23:18:19 +0100
committerAnders Broman <a.broman58@gmail.com>2014-04-29 04:25:26 +0000
commit14017dc6f1638c43afa47611d5aa32513ce36850 (patch)
tree1ec7251bc5d6e1c4e8bf150b139fcfe32e1d0e97 /CMakeOptions.txt
parent8d4db3e40b95ef39a34fdcc0b4454bd459606672 (diff)
downloadwireshark-14017dc6f1638c43afa47611d5aa32513ce36850.tar.gz
Set CMake defaults for Windows build to:
Use GTK2 as per nmake. Not to build the dumpabi executables. Change-Id: Ia28cf1a80b81e10595f4af5bbd46da3b3675faf5 Reviewed-on: https://code.wireshark.org/review/1376 Reviewed-by: Graham Bloice <graham.bloice@trihedral.com> Tested-by: Graham Bloice <graham.bloice@trihedral.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'CMakeOptions.txt')
-rw-r--r--CMakeOptions.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/CMakeOptions.txt b/CMakeOptions.txt
index 893ce0be89..7895348671 100644
--- a/CMakeOptions.txt
+++ b/CMakeOptions.txt
@@ -18,7 +18,14 @@ option(AUTOGEN_pidl "Autogenerate pidl dissectors" OFF)
option(DISABLE_WERROR "Do not treat warnings as errors" OFF)
option(ENABLE_EXTRA_COMPILER_WARNINGS "Do additional compiler warnings (disables -Werror)" OFF)
-option(ENABLE_GTK3 "Use GTK3 instead of GTK2 to build wireshark" ON)
+#
+# Leave GTK2 the default on Windows, looks better than GTK3
+#
+if(WIN32)
+ option(ENABLE_GTK3 "Use GTK3 instead of GTK2 to build wireshark" OFF)
+else()
+ option(ENABLE_GTK3 "Use GTK3 instead of GTK2 to build wireshark" ON)
+endif()
option(ENABLE_QT5 "Use Qt5 instead of Qt4 to build qtshark" ON)
option(ENABLE_PCAP "Enable libpcap support (required for capturing)" ON)
option(WANT_PACKET_EDITOR "Enable packet editor (experimental)" ON)