Skip to content

Commit

Permalink
[BUG FIX] Fix compilation on debian:
Browse files Browse the repository at this point in the history
In file included from /path/to/QGIS/build/python/core/auto_generated/pointcloud/qgspointcloudlayerexporter.sip:242:
/path/to/QGIS/src/core/pointcloud/qgspointcloudlayerexporter.h:28:10: fatal error: pdal/PointView.hpp: No such file or directory
   28 | #include <pdal/PointView.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~
  • Loading branch information
Franck HOUSSEN committed Dec 16, 2022
1 parent 8b5e9c4 commit a33e2bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/CMakeLists.txt
Expand Up @@ -108,6 +108,10 @@ if (WITH_GUI)
)
endif()

if (WITH_PDAL)
include_directories(SYSTEM "${PDAL_INCLUDE_DIR}")
endif()

if(NOT ENABLE_TESTS)
set(SIP_DISABLE_FEATURES ${SIP_DISABLE_FEATURES} TESTS)
endif()
Expand Down

0 comments on commit a33e2bc

Please sign in to comment.