aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeOptions.txt
diff options
context:
space:
mode:
authorGraham Bloice <graham.bloice@trihedral.com>2017-11-18 20:16:32 +0000
committerMichael Mann <mmann78@netscape.net>2017-11-18 20:58:31 +0000
commitbab9abfb7d259e1daaf84776ed9d4d09e2469293 (patch)
treef3be8a3d6830438bc22c830b866a419ce530c9d7 /CMakeOptions.txt
parentadc1aff0a54bb54d313ea82cfeb3cb928d8f1974 (diff)
CMake: Clean up Windows build
Remove options that aren't supported on Windows Don't use pkgconfig on Windows Change-Id: I79718a1c43f56a9ec88f690490931b80b727dd68 Reviewed-on: https://code.wireshark.org/review/24481 Reviewed-by: Graham Bloice <graham.bloice@trihedral.com> Petri-Dish: Graham Bloice <graham.bloice@trihedral.com> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'CMakeOptions.txt')
-rw-r--r--CMakeOptions.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeOptions.txt b/CMakeOptions.txt
index e91dddd87f..de6fa3f39f 100644
--- a/CMakeOptions.txt
+++ b/CMakeOptions.txt
@@ -77,7 +77,9 @@ option(ENABLE_GEOIP "Build with GeoIP support" ON)
if(WIN32)
option(ENABLE_WINSPARKLE "Enable WinSparkle support" ON)
endif()
-option(ENABLE_CAP "Build with Posix capabilities support" ON)
+if (NOT WIN32)
+ option(ENABLE_CAP "Build with Posix capabilities support" ON)
+endif()
option(ENABLE_CARES "Build with c-ares support" ON)
if(UNIX)
# Libnl is Linux-specific.