Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hurstel
CGoGN
Commits
ff9485da
Commit
ff9485da
authored
Jan 25, 2013
by
Sauvage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ajout findQwt
parent
74ad6e7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
+42
-0
cmake_modules/FindQwt.cmake
cmake_modules/FindQwt.cmake
+42
-0
No files found.
cmake_modules/FindQwt.cmake
0 → 100644
View file @
ff9485da
# Find Qwt
# ~~~~~~~~
# Copyright (c) 2010, Tim Sutton <tim at linfiniti.com>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
# Once run this will define:
#
# QWT_FOUND = system has QWT lib
# QWT_LIBRARY = full path to the QWT library
# QWT_INCLUDE_DIR = where to find headers
#
FIND_PATH
(
QWT_INCLUDE_DIR NAMES qwt.h PATHS
/usr/include
/usr/local/include
"$ENV{LIB_DIR}/include"
"$ENV{INCLUDE}"
PATH_SUFFIXES qwt-qt4 qwt qwt5
)
FIND_LIBRARY
(
QWT_LIBRARY NAMES qwt qwt5 qwt-qt4 qwt5-qt4 PATHS
/usr/lib
/usr/local/lib
"$ENV{LIB_DIR}/lib"
"$ENV{LIB}/lib"
)
IF
(
QWT_INCLUDE_DIR AND QWT_LIBRARY
)
SET
(
QWT_FOUND TRUE
)
ENDIF
(
QWT_INCLUDE_DIR AND QWT_LIBRARY
)
IF
(
QWT_FOUND
)
IF
(
NOT QWT_FIND_QUIETLY
)
MESSAGE
(
STATUS
"Found Qwt:
${
QWT_LIBRARY
}
"
)
ENDIF
(
NOT QWT_FIND_QUIETLY
)
ELSE
(
QWT_FOUND
)
IF
(
QWT_FIND_REQUIRED
)
MESSAGE
(
FATAL_ERROR
"Could not find Qwt"
)
ENDIF
(
QWT_FIND_REQUIRED
)
ENDIF
(
QWT_FOUND
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment