From 0ecab30ff134d9b8e12f360198004d7f60c823aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Lanzend=C3=B6rfer?= Date: Fri, 22 Oct 2021 20:00:58 +0100 Subject: [PATCH] Enable exceptions --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ed09650..66e6726 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,8 @@ project(pEpDBusAdapter) +string( REPLACE "fno-exceptions" "fexceptions" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") +string( REPLACE "fno-exceptions" "fexceptions" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") + include_directories(${PROJECT_SOURCE_DIR}/types) ############################ Server glue ###########################