mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
Static internal build of qwt (#583)
* static linking of qwt * suppressed warning in qwt + added reason
This commit is contained in:
@ -10,6 +10,7 @@ find_package(Qt5 5.9 COMPONENTS Widgets Core Gui REQUIRED)
|
||||
find_package(PNG REQUIRED)
|
||||
find_package(ZLIB REQUIRED)
|
||||
|
||||
|
||||
set(SOURCES
|
||||
slsDetectorPlotting/src/SlsQt1DPlot.cpp
|
||||
slsDetectorPlotting/src/SlsQt1DZoomer.cpp
|
||||
@ -97,7 +98,6 @@ target_include_directories(slsDetectorGui PUBLIC
|
||||
target_link_libraries(slsDetectorGui PUBLIC
|
||||
slsProjectOptions
|
||||
slsDetectorStatic
|
||||
${SLS_INTERNAL_QWT_DIR}/lib/libqwt.so.6.1.5
|
||||
PNG::PNG
|
||||
ZLIB::ZLIB
|
||||
Qt5::Widgets
|
||||
@ -107,6 +107,7 @@ target_link_libraries(slsDetectorGui PUBLIC
|
||||
|
||||
PRIVATE
|
||||
slsProjectWarnings
|
||||
qwt
|
||||
)
|
||||
|
||||
set_target_properties(slsDetectorGui PROPERTIES
|
||||
|
Reference in New Issue
Block a user