aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
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)
50endif() 50endif()
51 51
52if(MSVC)
53 set(BUILD_NC false)
54endif()
55
52if(CMAKE_SYSTEM_NAME MATCHES "HP-UX") 56if(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")