Skip to content

Commit

Permalink
build: add -fno-exceptions option in the sequence_test target (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal authored Dec 24, 2023
1 parent c580ca9 commit 1ba3c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR AND BUILD_TESTING)
target_link_libraries(sequence_test PRIVATE Catch2::Catch2WithMain)

if(NOT MSVC)
target_compile_options(sequence_test PRIVATE --coverage -O0)
target_compile_options(sequence_test PRIVATE --coverage -O0 -fno-exceptions)
target_link_options(sequence_test PRIVATE --coverage)
endif()

Expand Down

0 comments on commit 1ba3c3c

Please sign in to comment.