We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74d1372 commit 609194aCopy full SHA for 609194a
CMakeLists.txt
@@ -189,9 +189,11 @@ message(STATUS "******************************************")
189
message(STATUS "*** Compiler Flags ***")
190
message(STATUS "******************************************")
191
192
-message(STATUS "Adding: -Wno-cpp")
193
-set(DUNE_CXX_FLAGS "${DUNE_CXX_FLAGS} -Wno-cpp")
194
-set(DUNE_C_FLAGS "${DUNE_C_FLAGS} -Wno-cpp")
+if(NOT DUNE_OS_WINDOWS)
+ message(STATUS "Adding: -Wno-cpp")
+ set(DUNE_CXX_FLAGS "${DUNE_CXX_FLAGS} -Wno-cpp")
195
+ set(DUNE_C_FLAGS "${DUNE_C_FLAGS} -Wno-cpp")
196
+endif(NOT DUNE_OS_WINDOWS)
197
198
message(STATUS "DUNE_CXX_FLAGS: ${DUNE_CXX_FLAGS}")
199
message(STATUS "DUNE_C_FLAGS: ${DUNE_C_FLAGS}")
0 commit comments