File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ if(WIN32)
1616 -Dgtest_force_shared_crt=ON
1717 BUILD_COMMAND ${CMAKE_COMMAND} --build <BINARY_DIR> --config $<CONFIG>)
1818elseif (APPLE )
19- #FIXME: Temporarily remove -Wall from CMAKE_CXX_FLAGS to avoid issues with building
19+ #FIXME: Temporarily remove -pedantic from CMAKE_CXX_FLAGS to avoid issues with building
2020 # latest version of gtest on MacOS (use of -Wc++17-attribute-extensions causes
2121 # issues due to [[maybe_unused]] in gtest)
2222 set (EXTRA_GTEST_OPTS -DCMAKE_OSX_SYSROOT=${CMAKE_OSX_SYSROOT} )
2323 message (STATUS "CMAKE_CXX_FLAGS= ${CMAKE_CXX_FLAGS} " )
2424 set (CMAKE_CXX_FLAGS_TEMP_COPY ${CMAKE_CXX_FLAGS} )
25- string (REPLACE "-Wall " "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} " )
25+ string (REPLACE "-pedantic " "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} " )
2626 message (STATUS "CMAKE_CXX_FLAGS= ${CMAKE_CXX_FLAGS} " )
2727endif ()
2828
You can’t perform that action at this time.
0 commit comments