Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Cap pdal provider at c++14
The untwine/pdal dependancies use deprecated c++ removed in c++17
  • Loading branch information
nyalldawson committed Feb 27, 2021
1 parent 2cbffdd commit 080d4fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/pdal/CMakeLists.txt
Expand Up @@ -115,8 +115,8 @@ target_include_directories(untwine PRIVATE ${UNTWINE_INCLUDE_DIRS})

add_library (pdalprovider MODULE ${PDAL_SRCS} ${PDAL_HDRS} ${PDAL_GUI_SRCS} ${PDAL_GUI_HDRS})

# require c++17
target_compile_features(pdalprovider PRIVATE cxx_std_17)
# require c++14 only -- untwine is not compatible with c++17
target_compile_features(pdalprovider PRIVATE cxx_std_14)

target_link_libraries (pdalprovider
qgis_core
Expand Down

0 comments on commit 080d4fc

Please sign in to comment.