Skip to content
Snippets Groups Projects
Commit 4faffe38 authored by Langella Olivier's avatar Langella Olivier
Browse files

use pwiz target

parent ca89d4cf
No related branches found
No related tags found
No related merge requests found
......@@ -31,3 +31,5 @@ find_package(Zstd REQUIRED)
set(Pwiz_DIR ${CMAKE_MODULE_PATH})
find_package(Pwiz REQUIRED)
MESSAGE(STATUS "Found Pwiz: ${Pwiz_LIBRARY}")
......@@ -222,7 +222,6 @@ message("XTPCPP_SRCS: ${XTPCPP_SRCS}")
add_executable(xtpcpp main.cpp ${CPP_FILES} ${XTPCPP_SRCS} ${GUI_UI_HDRS} ${xtpcpp_RCC_SRCS})
target_include_directories(xtpcpp PUBLIC
${Pwiz_INCLUDE_DIR}
${QCustomPlot_INCLUDES}
${QUAZIP_INCLUDE_DIR}
)
......@@ -246,7 +245,7 @@ if(MINGW)
OdsStream::Core
PappsoMSpp::Core
PappsoMSpp::Widget
${Pwiz_LIBRARY}
Pwiz::Pwiz
${QCustomPlot_LIBRARIES}
${ZLIB_LIBRARIES}
Qt5::Gui
......@@ -283,6 +282,7 @@ else(MINGW)
ZLIB::ZLIB
Alglib::Alglib
Zstd::Zstd
Pwiz::Pwiz
)
endif(MINGW)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment