Issue: 920. Do not enforce gcc compiler on Apple platforms for CMake builds.

v0.27.3
Robin Mills 12 years ago
parent 2d1b934c68
commit dbb75ead90

@ -6,14 +6,6 @@
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
##
# 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
# creates src/exv_conf.h which conflicts with cmake's own exv_conf.h

@ -53,7 +53,7 @@
*/
#if defined(__GNUG__) || defined(__GNUC__) || defined (_MSC_VER)
#if (defined(__GNUG__) || defined(__GNUC__) || defined (_MSC_VER)) && ! defined(__clang__)
#define EXIV2_RCSID(id) \
namespace { \
inline const char* getRcsId(const char*) { return id ; } \

Loading…
Cancel
Save