Skip to content

Commit 74270e3

Browse files
authored
build: add -fno-exceptions option in the errors_test target (#84)
1 parent 7b9e05a commit 74270e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
4848

4949
# Enable support to check for test coverage
5050
if(NOT MSVC)
51-
target_compile_options(errors_test PRIVATE --coverage -O0)
51+
target_compile_options(errors_test PRIVATE --coverage -O0 -fno-exceptions)
5252
target_link_options(errors_test PRIVATE --coverage)
5353
endif()
5454

0 commit comments

Comments
 (0)