# # $Id$ # $HeadURL$ # $Author$ # Created by Christian Ehrlicher, SLSE, 2016-02-29 # ADD_SUBDIRECTORY(Common) # The GUI plugins link BuildingViewerCommon, which is skipped when BgViewer is absent # (RETURN() in Common/CMakeLists.txt). Skip the Gui subdirectory in that case so the # plugins are not built against a non-existent common lib (and its generated export header). if(TARGET BuildingViewerCommon) ADD_SUBDIRECTORY(Gui) else() MESSAGE(STATUS "BuildingViewer Gui plugins skipped (BuildingViewerCommon not built)") endif() # # Gui Plugin Interface # ADD_INTERFACE_LIBRARY(BdvViewerGuiPluginInterface ${CMAKE_CURRENT_SOURCE_DIR}/bdv_viewer_gui_plugin_interface.h ${CMAKE_CURRENT_SOURCE_DIR}/.. GuiPluginInterface )