Skip to content

Commit

Permalink
Disable linking of server with qgis_analysis if WITH_ANALYSIS=FALSE
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Palan authored and nyalldawson committed May 10, 2020
1 parent c41a151 commit 4785f3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/server/CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit 4785f3f

Please sign in to comment.