From 61f60eb36f012a0fb86e5a52f198cd27f5e6e0c1 Mon Sep 17 00:00:00 2001 From: Deniz Evrenci Date: Wed, 12 Dec 2018 13:29:41 +0900 Subject: [PATCH] [C++] Remove explicit addition of -fexceptions fexceptions is enabled for C++ by default. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ee314bf40b..ab7713135a 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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($<$:-fexceptions>) if(C_WARNINGS_AS_ERRORS) add_compile_options($<$:-Werror>)