Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main Repositories
otb
Commits
a14c3da0
Commit
a14c3da0
authored
7 years ago
by
Stéphane Albert
Browse files
Options
Downloads
Patches
Plain Diff
Upgraded FindQwt to search for v-6 instead of v-5.
parent
2a117240
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMake/FindQwt.cmake
+9
-10
9 additions, 10 deletions
CMake/FindQwt.cmake
Modules/ThirdParty/Qwt/otb-module-init.cmake
+2
-2
2 additions, 2 deletions
Modules/ThirdParty/Qwt/otb-module-init.cmake
with
11 additions
and
12 deletions
CMake/FindQwt.cmake
+
9
−
10
View file @
a14c3da0
...
...
@@ -36,15 +36,15 @@
#=============================================================================
# Copyright 2010-2013, Julien Schueller
# All rights reserved.
#
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
# list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
...
...
@@ -58,15 +58,14 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# The views and conclusions contained in the software and documentation are those
# of the authors and should not be interpreted as representing official policies,
# of the authors and should not be interpreted as representing official policies,
# either expressed or implied, of the FreeBSD Project.
#=============================================================================
find_path
(
QWT_INCLUDE_DIR
NAMES qwt_plot.h
HINTS
${
QT_INCLUDE_DIR
}
PATH_SUFFIXES qwt
qwt-qt3 qwt-qt4 qwt-qt5
PATH_SUFFIXES qwt
)
set
(
QWT_INCLUDE_DIRS
${
QWT_INCLUDE_DIR
}
)
...
...
@@ -100,7 +99,7 @@ endif ()
find_library
(
QWT_LIBRARY
NAMES qwt
qwt-qt3 qwt-qt4 qwt-qt5
qwt
${
QWT_MAJOR_VERSION
}
NAMES qwt qwt
${
QWT_MAJOR_VERSION
}
HINTS
${
QT_LIBRARY_DIR
}
)
...
...
@@ -126,7 +125,7 @@ endif ()
mark_as_advanced
(
QWT_LIBRARY
QWT_LIBRARY
QWT_LIBRARIES
QWT_INCLUDE_DIR
QWT_INCLUDE_DIRS
...
...
This diff is collapsed.
Click to expand it.
Modules/ThirdParty/Qwt/otb-module-init.cmake
+
2
−
2
View file @
a14c3da0
...
...
@@ -20,8 +20,8 @@
find_package
(
Qwt REQUIRED
)
if
(
NOT QWT_MAJOR_VERSION EQUAL
5
)
message
(
FATAL_ERROR
"Only Qwt
5
is supported. Found version
${
QWT_VERSION_STRING
}
"
)
if
(
NOT QWT_MAJOR_VERSION EQUAL
6
)
message
(
FATAL_ERROR
"Only Qwt
6
is supported. Found version
'
${
QWT_VERSION_STRING
}
'
"
)
endif
()
if
(
WIN32
)
...
...
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