mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
125217074e
commit
871f585f42
2 changed files with 4 additions and 1 deletions
|
@ -23,6 +23,7 @@ option(SUBSURFACE_MOBILE "build the QtQuick version for mobile device" OFF)
|
|||
option(FBSUPPORT "allow posting to Facebook" ON)
|
||||
option(BTSUPPORT "enable support for QtBluetooth (requires Qt5.4 or newer)" ON)
|
||||
option(FTDISUPPORT "enable support for libftdi based serial" OFF)
|
||||
option(DISABLE_PLUGINS "disable support for social media plugins" OFF)
|
||||
|
||||
add_definitions(-DSUBSURFACE_SOURCE="${CMAKE_SOURCE_DIR}")
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue