Commit 241ab306 authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa
Browse files

Enable exceptions in kalarmcal/ as well.

clang seems to be more strict than gcc, and complains about exceptions being
disabled despite akonadi/itempayloadinternals_p.h being indirectly included.
parent 714c341b
......@@ -31,6 +31,9 @@ set(kalarmcal_LIB_SRCS
version.cpp
)
if(NOT USE_KRESOURCES)
# The includes in akonadi/ use exceptions, we must enable them here for clang to be happy.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
set(kalarmcal_LIB_SRCS ${kalarmcal_LIB_SRCS}
collectionattribute.cpp
compatibilityattribute.cpp
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment