Commit e5d4a9d6 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

krita: Add a proper option for enable/disable GMic

I can never remember what variable to set to disable GMic, so instead
use an option so that ccmake/cmake-gui can at least list it.
parent adbb6b3b
......@@ -14,11 +14,9 @@ add_subdirectory( separate_channels )
add_subdirectory( shearimage )
add_subdirectory( dockers )
add_subdirectory( layergroupswitcher )
# Allow to skip building GMIC plugin
if(NOT DEFINED WITH_GMIC)
option(WITH_GMIC "Build the G'Mic plugin" ON)
if(WITH_GMIC)
add_subdirectory( gmic )
else(NOT DEFINED WITH_GMIC)
if(WITH_GMIC)
add_subdirectory( gmic )
endif(WITH_GMIC)
endif(NOT DEFINED WITH_GMIC)
endif(WITH_GMIC)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment