Skip to content
Snippets Groups Projects
Commit 5ecd4bc9 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

Disable Eigen debug assertions; not needed for cov

parent 85ed7b57
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ if(NOT (OGS_COVERAGE AND PROJECT_IS_TOP_LEVEL))
endif()
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
set(CMAKE_CXX_FLAGS_DEBUG "-g -Og --coverage")
set(CMAKE_CXX_FLAGS_DEBUG "-g -Og -DEIGEN_NO_DEBUG --coverage")
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
string(APPEND CMAKE_CXX_FLAGS_DEBUG " -fprofile-abs-path")
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment