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) ...@@ -31,3 +31,5 @@ find_package(Zstd REQUIRED)
set(Pwiz_DIR ${CMAKE_MODULE_PATH}) set(Pwiz_DIR ${CMAKE_MODULE_PATH})
find_package(Pwiz REQUIRED) find_package(Pwiz REQUIRED)
MESSAGE(STATUS "Found Pwiz: ${Pwiz_LIBRARY}")
...@@ -222,7 +222,6 @@ message("XTPCPP_SRCS: ${XTPCPP_SRCS}") ...@@ -222,7 +222,6 @@ message("XTPCPP_SRCS: ${XTPCPP_SRCS}")
add_executable(xtpcpp main.cpp ${CPP_FILES} ${XTPCPP_SRCS} ${GUI_UI_HDRS} ${xtpcpp_RCC_SRCS}) add_executable(xtpcpp main.cpp ${CPP_FILES} ${XTPCPP_SRCS} ${GUI_UI_HDRS} ${xtpcpp_RCC_SRCS})
target_include_directories(xtpcpp PUBLIC target_include_directories(xtpcpp PUBLIC
${Pwiz_INCLUDE_DIR}
${QCustomPlot_INCLUDES} ${QCustomPlot_INCLUDES}
${QUAZIP_INCLUDE_DIR} ${QUAZIP_INCLUDE_DIR}
) )
...@@ -246,7 +245,7 @@ if(MINGW) ...@@ -246,7 +245,7 @@ if(MINGW)
OdsStream::Core OdsStream::Core
PappsoMSpp::Core PappsoMSpp::Core
PappsoMSpp::Widget PappsoMSpp::Widget
${Pwiz_LIBRARY} Pwiz::Pwiz
${QCustomPlot_LIBRARIES} ${QCustomPlot_LIBRARIES}
${ZLIB_LIBRARIES} ${ZLIB_LIBRARIES}
Qt5::Gui Qt5::Gui
...@@ -283,6 +282,7 @@ else(MINGW) ...@@ -283,6 +282,7 @@ else(MINGW)
ZLIB::ZLIB ZLIB::ZLIB
Alglib::Alglib Alglib::Alglib
Zstd::Zstd Zstd::Zstd
Pwiz::Pwiz
) )
endif(MINGW) 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