summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Caulier <[email protected]>2015-05-14 22:54:16 +0200
committerGilles Caulier <[email protected]>2015-05-14 22:54:16 +0200
commit46898ec97a0462eb08a5b6d09999450a86b27aae (patch)
tree8d432dc3a2623056034e37c055d21ecce2e51b8d
parentbaf426f3de11956ff93b9ff03e59271063373ac8 (diff)
libraw 0.16.1 needs C++ exceptions rules while compilationv15.08.3v15.08.2v15.08.1v15.08.0v15.07.90v15.07.80Applications/15.08
BUGS: 347728 FIXED-IN: 4.11.0
-rw-r--r--libkdcraw/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/libkdcraw/CMakeLists.txt b/libkdcraw/CMakeLists.txt
index f23e5af..73b279f 100644
--- a/libkdcraw/CMakeLists.txt
+++ b/libkdcraw/CMakeLists.txt
@@ -4,6 +4,8 @@
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+add_definitions(${KDE4_ENABLE_EXCEPTIONS})
+
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/version.h)
set(kdcraw_LIB_SRCS kdcraw.cpp