diff options
author | Brent Cook <bcook@openbsd.org> | 2016-07-11 03:14:23 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2016-07-11 03:14:23 -0500 |
commit | 618c32e4a18a468b60f6cb7492e860edb8346b29 (patch) | |
tree | 38b7e41878ccb4502dc933c9a44e353d0018826f /CMakeLists.txt | |
parent | b13529f7914eebf049fa886d2e2d9775b7e94d8a (diff) | |
download | portable-618c32e4a18a468b60f6cb7492e860edb8346b29.tar.gz portable-618c32e4a18a468b60f6cb7492e860edb8346b29.tar.bz2 portable-618c32e4a18a468b60f6cb7492e860edb8346b29.zip |
don't build nc with MSVC
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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") | |||
49 | set(BUILD_NC false) | 49 | set(BUILD_NC false) |
50 | endif() | 50 | endif() |
51 | 51 | ||
52 | if(MSVC) | ||
53 | set(BUILD_NC false) | ||
54 | endif() | ||
55 | |||
52 | if(CMAKE_SYSTEM_NAME MATCHES "HP-UX") | 56 | if(CMAKE_SYSTEM_NAME MATCHES "HP-UX") |
53 | if(CMAKE_C_COMPILER MATCHES "gcc") | 57 | if(CMAKE_C_COMPILER MATCHES "gcc") |
54 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -std=gnu99 -fno-strict-aliasing") | 58 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -std=gnu99 -fno-strict-aliasing") |