Skip to content

Commit 3e76a97

Browse files
author
homann
committedFeb 6, 2007
CMake adjusted for WMS/Postgres both on Win32 and Unix
git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_8_0@6544 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent ad969a0 commit 3e76a97

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
 

‎src/providers/postgres/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ qgspostgrescountthread.cpp
1010
qgspostgresextentthread.cpp
1111
)
1212

13-
#SET(PG_MOC_HDRS qgspostgresprovider.h)
14-
13+
IF(NOT WIN32)
14+
SET(PG_MOC_HDRS qgspostgresprovider.h)
15+
ENDIF(NOT WIN32)
1516

1617
########################################################
1718
# Build

‎src/providers/wms/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

22
SET (WMS_SRCS qgswmsprovider.cpp)
3-
SET (WMS_MOC_HDRS "") #qgswmsprovider.h)
3+
IF (NOT WIN32)
4+
SET (WMS_MOC_HDRS qgswmsprovider.h)
5+
ENDIF (NOT WIN32)
46

57
QT4_WRAP_CPP (WMS_MOC_SRCS ${WMS_MOC_HDRS})
68

0 commit comments

Comments
 (0)