Skip to content

Commit 3a028cf

Browse files
author
jef
committedJan 7, 2010
fix some issues with the GPS commit
git-svn-id: http://svn.osgeo.org/qgis/trunk@12695 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 7c19e39 commit 3a028cf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+6024
-6038
lines changed
 

‎cmake/FindQWT.cmake

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -44,50 +44,3 @@ ELSE (QWT_FOUND)
4444
MESSAGE(FATAL_ERROR "Could not find QWT")
4545
ENDIF (QWT_FIND_REQUIRED)
4646
ENDIF (QWT_FOUND)
47-
## Once run this will define:
48-
##
49-
## QWT_FOUND = system has QWT lib
50-
##
51-
## QWT_LIBRARY = full path to the QWT library
52-
##
53-
## QWT_INCLUDE_DIR = where to find headers
54-
##
55-
## Tim Sutton
56-
57-
58-
#MESSAGE("Searching for QWT")
59-
FIND_PATH(QWT_INCLUDE_DIR qwt.h
60-
/usr/include
61-
/usr/include/qwt-qt4
62-
/usr/local/include
63-
"$ENV{LIB_DIR}/include"
64-
"$ENV{LIB_DIR}/include/qwt"
65-
)
66-
FIND_LIBRARY(QWT_LIBRARY qwt PATHS
67-
/usr/lib
68-
/usr/local/lib
69-
"$ENV{LIB_DIR}/lib"
70-
)
71-
IF (NOT QWT_LIBRARY)
72-
# try using ubuntu lib naming
73-
FIND_LIBRARY(QWT_LIBRARY qwt-qt4 PATHS
74-
/usr/lib
75-
/usr/local/lib
76-
"$ENV{LIB_DIR}/lib"
77-
)
78-
ENDIF (NOT QWT_LIBRARY)
79-
80-
IF (QWT_INCLUDE_DIR AND QWT_LIBRARY)
81-
SET(QWT_FOUND TRUE)
82-
ENDIF (QWT_INCLUDE_DIR AND QWT_LIBRARY)
83-
84-
IF (QWT_FOUND)
85-
IF (NOT QWT_FIND_QUIETLY)
86-
MESSAGE(STATUS "Found QWT : ${QWT_LIBRARY}")
87-
ENDIF (NOT QWT_FIND_QUIETLY)
88-
ELSE (QWT_FOUND)
89-
IF (QWT_FIND_REQUIRED)
90-
MESSAGE(FATAL_ERROR "Could not find QWT")
91-
ENDIF (QWT_FIND_REQUIRED)
92-
ENDIF (QWT_FOUND)
93-

‎ms-windows/osgeo4w/package.cmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ cmake -G "Visual Studio 9 2008" ^
101101
-D QT_HEADERS_DIR=%O4W_ROOT%/include/qt4 ^
102102
-D QT_ZLIB_LIBRARY=%O4W_ROOT%/lib/zlib.lib ^
103103
-D QT_PNG_LIBRARY=%O4W_ROOT%/lib/libpng13.lib ^
104+
-D QWT_INCLUDE_DIR=%O4W_ROOT%/include/qwt ^
105+
-D QWT_LIBRARY=%O4W_ROOT%/lib/qwt5.lib ^
104106
-D CMAKE_INSTALL_PREFIX=%O4W_ROOT%/apps/%PACKAGENAME% ^
105107
-D CMAKE_CXX_FLAGS_RELWITHDEBINFO="/MD /ZI /Od /D NDEBUG" ^
106108
-D SVNVERSION="%SVNVERSION%" ^

0 commit comments

Comments
 (0)
Please sign in to comment.