Skip to content
Permalink
Browse files

fix windows build

  • Loading branch information
jef-n committed Jun 16, 2012
1 parent 690afab commit 34f46543ba4959a2337e55d4a523ceba508c309a
@@ -39,7 +39,7 @@ class QDomElement;
/*!
* \brief Connections management
*/
class QgsOWSConnection : public QObject
class CORE_EXPORT QgsOWSConnection : public QObject
{
// Q_OBJECT

@@ -22,7 +22,7 @@

class QDomElement;

class QgsSingleBandColorDataRenderer: public QgsRasterRenderer
class CORE_EXPORT QgsSingleBandColorDataRenderer: public QgsRasterRenderer
{
public:
QgsSingleBandColorDataRenderer( QgsRasterDataProvider* provider, int band );
@@ -12,10 +12,17 @@ TARGET_LINK_LIBRARIES(crssync
${GDAL_LIBRARY}
)

ADD_CUSTOM_TARGET(synccrsdb
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/crssync
DEPENDS crssync
)
IF(MSVC)
ADD_CUSTOM_TARGET(synccrsdb
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${CMAKE_BUILD_TYPE}/crssync.exe
DEPENDS crssync
)
ELSE(MSVC)
ADD_CUSTOM_TARGET(synccrsdb
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/crssync
DEPENDS crssync
)
ENDIF(MSVC)

INSTALL(CODE "MESSAGE(\"Installing crssync ...\")")
INSTALL(TARGETS crssync RUNTIME DESTINATION ${QGIS_LIBEXEC_DIR})
@@ -52,7 +52,7 @@ struct QgsOWSSupportedFormat
* The user can then connect and add
* layers from the WMS server to the map canvas.
*/
class QgsOWSSourceSelect : public QDialog, public Ui::QgsOWSSourceSelectBase
class GUI_EXPORT QgsOWSSourceSelect : public QDialog, public Ui::QgsOWSSourceSelectBase
{
Q_OBJECT

0 comments on commit 34f4654

Please sign in to comment.
You can’t perform that action at this time.