Commit af3d7577 authored by Martin Heistermann's avatar Martin Heistermann

cmake/msvc: disable useless warnings enabled with default cmake release cxxflags

parent 0dca4ba2
Pipeline #11750 passed with stage
in 4 minutes and 32 seconds
...@@ -118,7 +118,12 @@ set_target_properties (OpenVolumeMesh PROPERTIES ...@@ -118,7 +118,12 @@ set_target_properties (OpenVolumeMesh PROPERTIES
) )
target_compile_options(OpenVolumeMesh PUBLIC "$<$<CXX_COMPILER_ID:MSVC>:/bigobj>") target_compile_options(OpenVolumeMesh PUBLIC
# disable MSVC inline warnings that are enabled with /Ob2, which is in the default cmake release cxxflags:
target_compile_definitions(OpenVolumeMesh target_compile_definitions(OpenVolumeMesh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment