$NetBSD: patch-libkdcraw_CMakeLists.txt,v 1.1 2015/08/04 12:56:02 jaapb Exp $

Enable exceptions for compilation
--- libkdcraw/CMakeLists.txt.orig	2014-07-06 07:20:12.000000000 +0000
+++ libkdcraw/CMakeLists.txt
@@ -22,6 +22,8 @@
 #
 # ============================================================
 
+add_definitions (${KDE4_ENABLE_EXCEPTIONS})
+
 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/version.h)
 
 SET(kdcraw_LIB_SRCS kdcraw.cpp
