aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <[email protected]>2015-05-20 14:58:00 +0200
committerAlbert Astals Cid <[email protected]>2015-05-20 14:58:00 +0200
commit0118fae106fc6816d7c2c4790446c454bf941efa (patch)
treed1dabe1a445e3af13fb8ae0ee94aa09676551f9c
parent7d6cb35ba44237fa2c874e915cd38790a9ea82fe (diff)
Enable exceptions for dotgrammar also when building the test
Does this finally fix Mac build?
-rw-r--r--libgraphtheory/fileformats/dot/autotests/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgraphtheory/fileformats/dot/autotests/CMakeLists.txt b/libgraphtheory/fileformats/dot/autotests/CMakeLists.txt
index 264dd48..38eafd6 100644
--- a/libgraphtheory/fileformats/dot/autotests/CMakeLists.txt
+++ b/libgraphtheory/fileformats/dot/autotests/CMakeLists.txt
@@ -35,6 +35,7 @@ set(testdotfileformat_SRCS
../dotgrammar.cpp
../dotgrammarhelper.cpp
)
+kde_source_files_enable_exceptions(../dotgrammar.cpp)
add_executable(TestDotFileFormat ${testdotfileformat_SRCS})
add_test(TestDotFileFormat TestDotFileFormat)
ecm_mark_as_test(TestDotFileFormat)