Skip to content
Permalink
Browse files

Add dependency on qgis_gui target to fix parallel build.

 In file included from /<<BUILDDIR>>/qgis-2.18.17+dfsg/src/providers/wms/qgswmssourceselect.cpp:26:0:
 /<<BUILDDIR>>/qgis-2.18.17+dfsg/src/providers/wms/../../gui/qgsgenericprojectionselector.h:20:10: fatal error: ui_qgsgenericprojectionselectorbase.h: No such file or directory
  #include <ui_qgsgenericprojectionselectorbase.h>
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • Loading branch information
sebastic committed Feb 26, 2018
1 parent 7827d92 commit d1b5767b05630336f2030da3900ceb47ddef29df
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/providers/wms/CMakeLists.txt
@@ -46,6 +46,8 @@ INCLUDE_DIRECTORIES(SYSTEM
ADD_LIBRARY(wmsprovider_a STATIC ${WMS_SRCS} ${WMS_MOC_SRCS})
ADD_LIBRARY(wmsprovider MODULE ${WMS_SRCS} ${WMS_MOC_SRCS})

ADD_DEPENDENCIES(wmsprovider qgis_gui)

TARGET_LINK_LIBRARIES(wmsprovider
qgis_core
qgis_gui

0 comments on commit d1b5767

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