1 |
From: Gilles Caulier <caulier.gilles@gmail.com> |
diff -Naur libkdcraw-4.14.3/libkdcraw/CMakeLists.txt libkdcraw-4.14.3-gcc5/libkdcraw/CMakeLists.txt |
2 |
Date: Thu, 14 May 2015 20:54:16 +0000 |
--- libkdcraw-4.14.3/libkdcraw/CMakeLists.txt 2014-07-06 09:20:12.000000000 +0200 |
3 |
Subject: libraw 0.16.1 needs C++ exceptions rules while compilation |
+++ libkdcraw-4.14.3-gcc5/libkdcraw/CMakeLists.txt 2015-07-09 09:11:54.736594911 +0200 |
4 |
X-Git-Url: http://quickgit.kde.org/?p=libkdcraw.git&a=commitdiff&h=46898ec97a0462eb08a5b6d09999450a86b27aae |
@@ -22,6 +22,8 @@ |
|
--- |
|
|
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 @@ |
|
5 |
# |
# |
6 |
# 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}) |
|
7 |
|
|
8 |
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/version.h) |
+ADD_DEFINITIONS(${KDE4_ENABLE_EXCEPTIONS}) |
9 |
|
+ |
10 |
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/version.h) |
11 |
|
|
12 |
|
SET(kdcraw_LIB_SRCS kdcraw.cpp |