using external qwt

This commit is contained in:
Erik Frojdh
2022-11-21 11:41:12 +01:00
parent f6241f7a5e
commit b08bf08ea9
1659 changed files with 127 additions and 247121 deletions

View File

@ -10,6 +10,8 @@ find_package(Qt5 5.9 COMPONENTS Widgets Core Gui REQUIRED)
find_package(PNG REQUIRED)
find_package(ZLIB REQUIRED)
find_package(Qwt 6.1 REQUIRED)
set(SOURCES
slsDetectorPlotting/src/SlsQt1DPlot.cpp
slsDetectorPlotting/src/SlsQt1DZoomer.cpp
@ -87,6 +89,7 @@ add_executable(slsDetectorGui
target_include_directories(slsDetectorGui PUBLIC
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
"$<BUILD_INTERFACE:${QWT_INCLUDE_DIR}>"
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/slsDetectorPlotting/include>"
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>"
"$<BUILD_INTERFACE:${QT5Widgets_INCLUDE_DIRS}>"
@ -97,7 +100,7 @@ target_include_directories(slsDetectorGui PUBLIC
target_link_libraries(slsDetectorGui PUBLIC
slsProjectOptions
slsDetectorStatic
${SLS_INTERNAL_QWT_DIR}/lib/libqwt.so.6.1.5
${QWT_LIBRARIES}
PNG::PNG
ZLIB::ZLIB
Qt5::Widgets