Make building plugins optional

This currently fails at least on my old Mac that I use to create binaries
that work on 10.7 and newer.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-11-08 16:28:56 -08:00
parent 125217074e
commit 871f585f42
2 changed files with 4 additions and 1 deletions

View file

@ -13,7 +13,9 @@ include_directories(.
)
add_subdirectory(preferences)
add_subdirectory(plugins)
if(NOT DISABLE_PLUGINS)
add_subdirectory(plugins)
endif()
# the interface, in C++
set(SUBSURFACE_INTERFACE