]> The Tcpdump Group git mirrors - libpcap/commitdiff
Ask, in a comment, why we're testing WIN32 and CYGWIN and MSYS. [skip ci]
authorGuy Harris <[email protected]>
Tue, 20 Jul 2021 09:27:26 +0000 (02:27 -0700)
committerGuy Harris <[email protected]>
Sun, 20 Feb 2022 22:50:31 +0000 (14:50 -0800)
(cherry picked from commit 181d9a81abee5de25326cb8942bfa893a7e7825a)

CMakeLists.txt

index 45d69229e0d686804195b9a6a0549f79e4c60697..ff3014a6783c4bc5f10a09e90ee1dc51c3c7dc8e 100644 (file)
@@ -2635,6 +2635,11 @@ else(BUILD_SHARED_LIBS)
 endif(BUILD_SHARED_LIBS)
 
 if(WIN32 OR CYGWIN OR MSYS)
+    #
+    # XXX - according to the CMake documentation, WIN32 is set if
+    # the target is Windows; would there ever be a case where
+    # CYGWIN or MSYS are set but WIN32 *isn't* set?
+    #
     if(MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 8)
         #
         # Install 64-bit code built with MSVC in the x64 subdirectories,