Skip to content

Commit

Permalink
CMakeLists: Removed Wno-cpp flag on windows compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
luis109 committed Nov 27, 2024
1 parent 74d1372 commit 609194a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,11 @@ message(STATUS "******************************************")
message(STATUS "*** Compiler Flags ***")
message(STATUS "******************************************")

message(STATUS "Adding: -Wno-cpp")
set(DUNE_CXX_FLAGS "${DUNE_CXX_FLAGS} -Wno-cpp")
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")
set(DUNE_C_FLAGS "${DUNE_C_FLAGS} -Wno-cpp")
endif(NOT DUNE_OS_WINDOWS)

message(STATUS "DUNE_CXX_FLAGS: ${DUNE_CXX_FLAGS}")
message(STATUS "DUNE_C_FLAGS: ${DUNE_C_FLAGS}")
Expand Down

0 comments on commit 609194a

Please sign in to comment.