[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [calligra/calligra/2.9] krita/plugins/extensions/gmic: This compiler options are for gcc compiler on
From:       Lukáš Tvrdý <lukast.dev () gmail ! com>
Date:       2015-02-28 22:00:27
Message-ID: E1YRpQx-0004I7-Af () scm ! kde ! org
[Download RAW message or body]

Git commit 3167ef5a52af4fb8e2d27c17549d969e1ee756c7 by Luk=C3=A1=C5=A1 Tvrd=
=C3=BD.
Committed on 28/02/2015 at 21:59.
Pushed by lukast into branch 'calligra/2.9'.

This compiler options are for gcc compiler only

M  +4    -1    krita/plugins/extensions/gmic/CMakeLists.txt

http://commits.kde.org/calligra/3167ef5a52af4fb8e2d27c17549d969e1ee756c7

diff --git a/krita/plugins/extensions/gmic/CMakeLists.txt b/krita/plugins/e=
xtensions/gmic/CMakeLists.txt
index 6275948..7d176dc 100644
--- a/krita/plugins/extensions/gmic/CMakeLists.txt
+++ b/krita/plugins/extensions/gmic/CMakeLists.txt
@@ -3,7 +3,10 @@
 ##
 =

 include_directories(src)
-set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions -fPIC")
+
+if(CMAKE_COMPILER_IS_GNUCXX)
+    set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions -fPIC")
+endif(CMAKE_COMPILER_IS_GNUCXX)
 =

 set(gmic_sources_SRCS
   src/gmic.cpp
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic