Skip to content

Commit a9d4b57

Browse files
author
jef
committed
apply #3506
git-svn-id: http://svn.osgeo.org/qgis/trunk@15215 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 05c7708 commit a9d4b57

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ IF (WITH_POSTGRESQL)
6363
SET (POSTGRESQL_PREFIX "" CACHE PATH "Path to POSTGRESQL base directory")
6464
ENDIF (WITH_POSTGRESQL)
6565

66-
SET (WITH_INTERNAL_QWTPOLAR TRUE CACHE BOOL "Use internal built of QWTPolar")
66+
SET (WITH_INTERNAL_QWTPOLAR TRUE CACHE BOOL "Use internal built of QwtPolar")
6767

6868
SET (WITH_SPATIALITE TRUE CACHE BOOL "Determines whether SPATIALITE support should be built")
6969

@@ -142,9 +142,9 @@ FIND_PACKAGE(Expat) # GPS importer plugin
142142
FIND_PACKAGE(GSL) # Georeferencer
143143
FIND_PACKAGE(GEOS)
144144
FIND_PACKAGE(GDAL)
145-
FIND_PACKAGE(QWT REQUIRED)
145+
FIND_PACKAGE(Qwt REQUIRED)
146146
IF (NOT WITH_INTERNAL_QWTPOLAR)
147-
FIND_PACKAGE(QWTPOLAR REQUIRED)
147+
FIND_PACKAGE(QwtPolar REQUIRED)
148148
ENDIF(NOT WITH_INTERNAL_QWTPOLAR)
149149

150150
IF (NOT WITH_INTERNAL_SPATIALITE)

cmake/FindQWT.cmake renamed to cmake/FindQwt.cmake

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#
1313

1414

15-
#MESSAGE("Searching for QWT")
1615
FIND_PATH(QWT_INCLUDE_DIR NAMES qwt.h PATHS
1716
/usr/include
1817
/usr/local/include
@@ -34,10 +33,10 @@ ENDIF (QWT_INCLUDE_DIR AND QWT_LIBRARY)
3433

3534
IF (QWT_FOUND)
3635
IF (NOT QWT_FIND_QUIETLY)
37-
MESSAGE(STATUS "Found QWT: ${QWT_LIBRARY}")
36+
MESSAGE(STATUS "Found Qwt: ${QWT_LIBRARY}")
3837
ENDIF (NOT QWT_FIND_QUIETLY)
3938
ELSE (QWT_FOUND)
4039
IF (QWT_FIND_REQUIRED)
41-
MESSAGE(FATAL_ERROR "Could not find QWT")
40+
MESSAGE(FATAL_ERROR "Could not find Qwt")
4241
ENDIF (QWT_FIND_REQUIRED)
4342
ENDIF (QWT_FOUND)

cmake/FindQwtPolar.cmake

+5-6
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,18 @@
77
#
88
# Once run this will define:
99
#
10-
# QWTPOLAR_FOUND = system has QWTPolar lib
11-
# QWTPOLAR_LIBRARY = full path to the QWTPolar library
10+
# QWTPOLAR_FOUND = system has QwtPolar lib
11+
# QWTPOLAR_LIBRARY = full path to the QwtPolar library
1212
# QWTPOLAR_INCLUDE_DIR = where to find headers
1313
#
1414

1515

16-
#MESSAGE("Searching for QWTPolar")
1716
FIND_PATH(QWTPOLAR_INCLUDE_DIR NAMES qwt_polar.h PATHS
1817
/usr/include
1918
/usr/local/include
2019
"$ENV{LIB_DIR}/include"
2120
"$ENV{INCLUDE}"
22-
PATH_SUFFIXES qwt-qt4 qwt qwt5
21+
PATH_SUFFIXES qwtpolar
2322
)
2423

2524
FIND_LIBRARY(QWTPOLAR_LIBRARY NAMES qwtpolar PATHS
@@ -35,10 +34,10 @@ ENDIF (QWTPOLAR_INCLUDE_DIR AND QWTPOLAR_LIBRARY)
3534

3635
IF (QWTPOLAR_FOUND)
3736
IF (NOT QWTPOLAR_FIND_QUIETLY)
38-
MESSAGE(STATUS "Found QWTPolar: ${QWTPOLAR_LIBRARY}")
37+
MESSAGE(STATUS "Found QwtPolar: ${QWTPOLAR_LIBRARY}")
3938
ENDIF (NOT QWTPOLAR_FIND_QUIETLY)
4039
ELSE (QWTPOLAR_FOUND)
4140
IF (QWTPOLAR_FIND_REQUIRED)
42-
MESSAGE(FATAL_ERROR "Could not find QWTPolar")
41+
MESSAGE(FATAL_ERROR "Could not find QwtPolar")
4342
ENDIF (QWTPOLAR_FIND_REQUIRED)
4443
ENDIF (QWTPOLAR_FOUND)

0 commit comments

Comments
 (0)