Skip to content

Commit

Permalink
Link gui
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Sep 4, 2017
1 parent 1816087 commit eb0d570
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/providers/wms/CMakeLists.txt
Expand Up @@ -64,17 +64,22 @@ TARGET_LINK_LIBRARIES(wmsprovider
${GDAL_LIBRARY} # for OGR_G_CreateGeometryFromJson()
)

IF (WITH_GUI)
TARGET_LINK_LIBRARIES (wmsprovider
qgis_gui
)
ENDIF ()

TARGET_LINK_LIBRARIES(wmsprovider_a
qgis_core
${QT_QTSCRIPT_LIBRARY}
)


IF (WITH_GUI)
TARGET_LINK_LIBRARIES (wmsprovider
qgis_gui
)
TARGET_LINK_LIBRARIES (wmsprovider_a
qgis_gui
)
ENDIF ()

INSTALL (TARGETS wmsprovider
RUNTIME DESTINATION ${QGIS_PLUGIN_DIR}
LIBRARY DESTINATION ${QGIS_PLUGIN_DIR})

0 comments on commit eb0d570

Please sign in to comment.