add_subdirectory(Plugins) add_subdirectory(Common) if(Qt5Widgets_FOUND) add_subdirectory(Gui) endif(Qt5Widgets_FOUND)