Skip to content

Commit

Permalink
[C++] Remove explicit addition of -fexceptions
Browse files Browse the repository at this point in the history
fexceptions is enabled for C++ by default.
  • Loading branch information
denizevrenci committed Dec 12, 2018
1 parent dd6b8b5 commit 61f60eb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ endif()
# all UNIX-based platform compiler flags
if(UNIX)
add_compile_options(-Wall -Wpedantic -Wextra -Wno-unused-parameter)
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-fexceptions>)

if(C_WARNINGS_AS_ERRORS)
add_compile_options($<$<COMPILE_LANGUAGE:C>:-Werror>)
Expand Down

0 comments on commit 61f60eb

Please sign in to comment.