message(\n${BoldRed}"Now configuring src/widget for ${PROJECT_NAME}"${ColourReset}\n) find_package(Qt5 COMPONENTS Core Gui PrintSupport Svg REQUIRED) if(NOT QCustomPlot_FOUND) message("Still searching for QCustomPlot") find_package(QCustomPlot REQUIRED) add_definitions(-DQCUSTOMPLOT_USE_LIBRARY) endif() SET(PAPPSOWIDGET_CPP_FILES graphicdevicewidget.cpp precisionwidget/precisionwidget.cpp massspectrumwidget/qcpspectrum.cpp massspectrumwidget/massspectrumwidget.cpp xicwidget/qcpxic.cpp xicwidget/xicwidget.cpp plotwidget/colormapplotconfig.cpp plotwidget/baseplotwidget.cpp plotwidget/basetraceplotwidget.cpp plotwidget/ticxicchromtraceplotwidget.cpp plotwidget/massspectraceplotwidget.cpp plotwidget/driftspectraceplotwidget.cpp plotwidget/basecolormapplotwidget.cpp plotwidget/ticxicchrommassspeccolormapplotwidget.cpp plotwidget/ticxicchromdriftspeccolormapplotwidget.cpp plotwidget/driftspecmassspeccolormapplotwidget.cpp) add_library(pappsomspp-widget-static STATIC $