Skip to content
Permalink
Browse files

Disable linking of server with qgis_analysis if WITH_ANALYSIS=FALSE

  • Loading branch information
Tom Palan authored and nyalldawson committed May 9, 2020
1 parent c41a151 commit 4785f3f4a50fff590a93898aa6967e696f556af2
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/server/CMakeLists.txt
@@ -138,14 +138,17 @@ ENDIF (NOT ANDROID)

TARGET_LINK_LIBRARIES(qgis_server
qgis_core
qgis_analysis
${PROJ_LIBRARY}
${FCGI_LIBRARY}
${POSTGRES_LIBRARY}
${GDAL_LIBRARY}
${QCA_LIBRARY}
)

IF (WITH_ANALYSIS)
TARGET_LINK_LIBRARIES(qgis_server qgis_analysis)
ENDIF(WITH_ANALYSIS)

IF (WITH_BINDINGS)
TARGET_LINK_LIBRARIES(qgis_server qgispython)
ENDIF(WITH_BINDINGS)

0 comments on commit 4785f3f

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