[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:43:27 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=e56fbdb
The following commit has been merged in the master branch:
commit e56fbdb12d229ac44904a10c905873ab64b18cd5
Author: Robin Mills <robin at clanmills.com>
Date: Sun Oct 14 05:50:34 2012 +0000
Fix: Bug #857. Get CMake to compile with g++ instead of c++ (clang) compiler to eliminate warnings.
---
CMakeLists.txt | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1f8fb58..54f4cfe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,9 +6,13 @@
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-SET(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
-PROJECT( exiv2 )
-CMAKE_MINIMUM_REQUIRED( VERSION 2.6 )
+##
+# Issue:#857. Use g++ instead of c++ (clang) compiler to eliminate warnings
+if (APPLE)
+ set(CMAKE_C_COMPILER gcc)
+ set(CMAKE_CXX_COMPILER g++)
+endif(APPLE)
+##
##
# Running cmake in a tree in which we have run ./configure ; make
@@ -22,6 +26,11 @@ if( EXISTS ${CMAKE_SOURCE_DIR}/src/exv_conf.h )
endif()
##
+
+PROJECT( exiv2 )
+CMAKE_MINIMUM_REQUIRED( VERSION 2.6 )
+SET(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
+
SET( PACKAGE_COPYRIGHT "Andreas Huggel" )
SET( PACKAGE_BUGREPORT "ahuggel at gmx.net" )
SET( PACKAGE "exiv2" )
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list