mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
Fix python build without pdal
This commit is contained in:
parent
e79c5f0c29
commit
4ce3fafdcc
@ -204,10 +204,6 @@ set (PY_MODULES core)
|
||||
|
||||
if(WITH_ANALYSIS)
|
||||
set(PY_MODULES ${PY_MODULES} analysis)
|
||||
|
||||
if (NOT WITH_PDAL OR (WITH_PDAL AND NOT PDAL_2_5_OR_HIGHER))
|
||||
set(SIP_DISABLE_FEATURES ${SIP_DISABLE_FEATURES} HAVE_PDAL_PROVIDER)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# gui module
|
||||
@ -311,13 +307,8 @@ if(WITH_ANALYSIS)
|
||||
${CMAKE_BINARY_DIR}/src/analysis/raster
|
||||
${CMAKE_BINARY_DIR}/src/analysis/network
|
||||
${CMAKE_BINARY_DIR}/src/analysis/interpolation
|
||||
)
|
||||
|
||||
if (WITH_PDAL AND PDAL_2_5_OR_HIGHER)
|
||||
include_directories(BEFORE
|
||||
${CMAKE_SOURCE_DIR}/src/analysis/processing/pdal
|
||||
${CMAKE_SOURCE_DIR}/src/analysis/processing/pdal
|
||||
)
|
||||
endif()
|
||||
|
||||
# analysis module
|
||||
file(GLOB_RECURSE sip_files_analysis ${BINDING_FILES_ROOT_DIR}/analysis/*.sip ${BINDING_FILES_ROOT_DIR}/analysis/*.sip.in)
|
||||
|
@ -9,6 +9,4 @@ ${DEFAULTDOCSTRINGSIGNATURE}
|
||||
|
||||
%Import core/core.sip
|
||||
|
||||
%Feature HAVE_PDAL_PROVIDER
|
||||
|
||||
%Include analysis_auto.sip
|
||||
|
@ -9,6 +9,4 @@ ${DEFAULTDOCSTRINGSIGNATURE}
|
||||
|
||||
%Import core/core.sip
|
||||
|
||||
%Feature HAVE_PDAL_PROVIDER
|
||||
|
||||
%Include analysis_auto.sip
|
||||
|
Loading…
x
Reference in New Issue
Block a user