From: Gilles Caulier Date: Thu, 14 May 2015 20:54:16 +0000 Subject: libraw 0.16.1 needs C++ exceptions rules while compilation X-Git-Url: http://quickgit.kde.org/?p=libkdcraw.git&a=commitdiff&h=46898ec97a0462eb08a5b6d09999450a86b27aae --- libraw 0.16.1 needs C++ exceptions rules while compilation BUGS: 347728 FIXED-IN: 4.11.0 --- --- a/libkdcraw/CMakeLists.txt +++ b/libkdcraw/CMakeLists.txt @@ -3,6 +3,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)