qgis/qgis-fix-cmake-findpdal.patch
Nicolas Rochard 3af38f85fe Accepting request 910379 from home:licehunter:branches:Application:Geo
- Enable PDAL

The current builds of QGIS do not include PDAL (WITH_PDAL=FALSE) meaning that it is not possible to work with point clouds.

This submission is my attempt at getting PDAL enabled in QGIS. Successfully tested on Tumbleweed. At the time of branching, Leap 15.x builds were broken due to unrelated changes and remain so in this package.

OBS-URL: https://build.opensuse.org/request/show/910379
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=332
2021-08-08 11:18:00 +00:00

12 lines
390 B
Diff

--- a/cmake/FindPDAL.cmake 2021-08-05 12:51:21.255398497 +0000
+++ b/cmake/FindPDAL.cmake 2021-08-05 12:51:42.319428567 +0000
@@ -40,7 +40,7 @@ FIND_LIBRARY(PDAL_UTIL_LIBRARY NAMES pda
)
FIND_LIBRARY(PDAL_UTIL_LIBRARY NAMES pdal_util libpdal_util)
-FIND_PROGRAM(PDAL_BIN pdal
+FIND_PROGRAM(PDAL_BIN pdal-config
$ENV{LIB_DIR}/bin
/usr/local/bin/
/usr/bin/