summaryrefslogtreecommitdiffstats
path: root/graphics/krita/files/patch-plugins_extensions_CMakeLists.txt
blob: 33a53f894cf13ece30fc92c4518f57e35b927a45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Also allow gmic to be built when using clang... 

--- plugins/extensions/CMakeLists.txt.orig	2016-12-14 22:49:19 UTC
+++ plugins/extensions/CMakeLists.txt
@@ -20,7 +20,7 @@ add_subdirectory( waveletdecompose )
 # Allow to skip building GMIC plugin
 option(WITH_GMIC "Build the G'Mic plugin" ON)
 if(WITH_GMIC)
-if (CMAKE_COMPILER_IS_GNUCC)
+if (CMAKE_COMPILER_IS_GNUCC OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
     add_subdirectory( gmic )
 endif()
 endif()
OpenPOWER on IntegriCloud