Skip to content

Commit

Permalink
Activate PDAL
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Feb 9, 2024
1 parent 29c2582 commit 988999b
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 26 deletions.
4 changes: 4 additions & 0 deletions cmake/qgis-cmake-wrapper.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ if(TRUE) # Should possibly have a "static only" check
endif()
# End Terrible hack

find_package(PDAL CONFIG REQUIRED)
target_include_directories(QGIS::Core INTERFACE ${PDAL_INCLUDE_DIRS})
target_link_libraries(QGIS::Core INTERFACE ${PDAL_LIBRARIES})

find_library(Qca-ossl_LIBRARIES NAMES qca-ossl PATH_SUFFIXES Qca/crypto)
target_link_libraries(QGIS::Core INTERFACE ${Qca-ossl_LIBRARIES})

Expand Down
4 changes: 4 additions & 0 deletions vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"name": "gdal",
"default-features": false
},
{
"name": "pdal",
"default-features": false
},
"nu-book-zxing-cpp",
{
"name": "qca-qt6",
Expand Down
2 changes: 1 addition & 1 deletion vcpkg/ports/qgis-qt6/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ list(APPEND QGIS_OPTIONS "-DWITH_QTWEBKIT:BOOL=OFF")
list(APPEND QGIS_OPTIONS "-DWITH_GRASS7:BOOL=OFF")
list(APPEND QGIS_OPTIONS "-DWITH_SPATIALITE:BOOL=ON")
list(APPEND QGIS_OPTIONS "-DWITH_QSPATIALITE:BOOL=OFF")
list(APPEND QGIS_OPTIONS "-DWITH_PDAL:BOOL=OFF")
list(APPEND QGIS_OPTIONS "-DWITH_PDAL:BOOL=ON")
list(APPEND QGIS_OPTIONS "-DWITH_DRACO:BOOL=ON")
list(APPEND QGIS_OPTIONS "-DWITH_INTERNAL_POLY2TRI:BOOL=OFF")

Expand Down
60 changes: 35 additions & 25 deletions vcpkg/ports/qgis-qt6/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,38 +27,48 @@
"protobuf",
"proj",
"geos",
{
"name": "pdal",
"default-features": false,
"features": [
"draco",
"e57",
"i3s",
"zstd"
]
},
"poly2tri",
{
"name": "libtasn1",
"platform": "ios | osx"
},
{
"name": "qtbase",
"features":
[
"brotli",
"concurrent",
"default-features",
"doubleconversion",
"freetype",
"gui",
"harfbuzz",
"jpeg",
"network",
{
"name":"openssl",
"platform": "!ios"
},
"pcre2",
"png",
"sql",
"sql-sqlite",
"testlib",
"thread",
"widgets",
"zstd"
],
"default-features": false
"features":
[
"brotli",
"concurrent",
"default-features",
"doubleconversion",
"freetype",
"gui",
"harfbuzz",
"jpeg",
"network",
{
"name":"openssl",
"platform": "!ios"
},
"pcre2",
"png",
"sql",
"sql-sqlite",
"testlib",
"thread",
"widgets",
"zstd"
],
"default-features": false
},
"qtsvg",
"qtlocation",
Expand Down

0 comments on commit 988999b

Please sign in to comment.