Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xtpcpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
A compter du 1er avril, attention à vos pipelines :
Nouvelles limitations de Docker Hub
Show more breadcrumbs
PAPPSO
xtpcpp
Commits
0d546eb6
Commit
0d546eb6
authored
6 years ago
by
Langella Olivier
Browse files
Options
Downloads
Patches
Plain Diff
find zlib
parent
235c8377
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/CMakeLists.txt
+17
-10
17 additions, 10 deletions
src/CMakeLists.txt
with
17 additions
and
10 deletions
src/CMakeLists.txt
+
17
−
10
View file @
0d546eb6
...
...
@@ -16,6 +16,8 @@ SET(xtpcpp_RCCS xtpcpp.qrc)
FIND_PACKAGE
(
Qt5 COMPONENTS Core Gui Svg Xml PrintSupport REQUIRED
)
QT5_ADD_RESOURCES
(
xtpcpp_RCC_SRCS
${
xtpcpp_RCCS
}
)
FIND_PACKAGE
(
ZLIB REQUIRED
)
if
(
QCustomPlot_FOUND
)
else
(
QCustomPlot_FOUND
)
FIND_PACKAGE
(
QCustomPlot REQUIRED
)
...
...
@@ -241,16 +243,21 @@ target_compile_definitions(xtpcpp PUBLIC ${QT_DEFINITIONS})
#COMPILE_DEFINITIONS "${QT_DEFINITIONS}"
#INCLUDE_DIRECTORIES "${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR}"
)
TARGET_LINK_LIBRARIES
(
xtpcpp
${
PAPPSOMSPP_QT5_LIBRARY
}
${
PAPPSOMSPP_WIDGET_QT5_LIBRARY
}
${
Pwiz_LIBRARY
}
${
ODSSTREAM_QT5_LIBRARY
}
${
QCustomPlot_LIBRARIES
}
${
Boost_chrono_LIBRARY
}
${
Boost_filesystem_LIBRARY
}
${
Boost_iostreams_LIBRARY
}
${
Boost_program_options_LIBRARY
}
${
Boost_serialization_LIBRARY
}
${
Boost_system_LIBRARY
}
${
Boost_thread_LIBRARY
}
Qt5::Gui Qt5::Xml Qt5::Svg Qt5::PrintSupport
)
if
(
MINGW
)
TARGET_LINK_LIBRARIES
(
xtpcpp
${
PAPPSOMSPP_QT5_LIBRARY
}
${
PAPPSOMSPP_WIDGET_QT5_LIBRARY
}
${
Pwiz_LIBRARY
}
${
ODSSTREAM_QT5_LIBRARY
}
${
QCustomPlot_LIBRARIES
}
${
Boost_chrono_LIBRARY
}
${
Boost_filesystem_LIBRARY
}
${
Boost_iostreams_LIBRARY
}
${
Boost_program_options_LIBRARY
}
${
Boost_serialization_LIBRARY
}
${
Boost_system_LIBRARY
}
${
Boost_thread_LIBRARY
}
${
ZLIB_LIBRARIES
}
Qt5::Gui Qt5::Xml Qt5::Svg Qt5::PrintSupport
)
else
(
MINGW
)
TARGET_LINK_LIBRARIES
(
xtpcpp
${
PAPPSOMSPP_QT5_LIBRARY
}
${
PAPPSOMSPP_WIDGET_QT5_LIBRARY
}
${
Pwiz_LIBRARY
}
${
ODSSTREAM_QT5_LIBRARY
}
${
QCustomPlot_LIBRARIES
}
Qt5::Gui Qt5::Xml Qt5::Svg Qt5::PrintSupport
)
endif
(
MINGW
)
INSTALL
(
PROGRAMS
${
CMAKE_CURRENT_BINARY_DIR
}
/xtpcpp DESTINATION bin
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment