summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2014-12-02 08:06:03 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2014-12-02 08:06:03 (GMT)
commitfe4160d48dcf1a64b7fdda2d6c78bfa37d924efc (patch)
tree661e301efc968e1f35dc85856b89b06087bae46c
parent41e0d4b9bd58bd19038c90b66e71d369ef5d325e (diff)
Replace all 'WIN32 AND NOT CYGWIN' with 'WIN32'.
Cmake 2.8.4 WIN32 doesn't include CYGWIN. This corresponds to commit 065e529e40, by Roland Schulz, in the GROMACS repository. Change-Id: I5daefdebb9e9e839cf509c36eed6046a1c2a4761
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5940696..87c10be 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@ project(TNG_IO)
if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall")
-elseif(WIN32 AND NOT CYGWIN)
+elseif(WIN32)
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /W2")
endif()
contact: Jan Huwald // Impressum