From 618c32e4a18a468b60f6cb7492e860edb8346b29 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Mon, 11 Jul 2016 03:14:23 -0500 Subject: [PATCH] don't build nc with MSVC --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 589b6eb..0c38017 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,6 +49,10 @@ if(CMAKE_SYSTEM_NAME MATCHES "MINGW") set(BUILD_NC false) endif() +if(MSVC) + set(BUILD_NC false) +endif() + if(CMAKE_SYSTEM_NAME MATCHES "HP-UX") if(CMAKE_C_COMPILER MATCHES "gcc") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -std=gnu99 -fno-strict-aliasing")