Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix buster build with PDAL 1.8 (first PDAL version with
pdal::Config::fullVersionString is 1.7 not 2)
  • Loading branch information
jef-n committed Nov 16, 2020
1 parent 9abe7d1 commit d6647b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -5326,7 +5326,7 @@ void QgisApp::about()

#ifdef HAVE_PDAL
versionString += QStringLiteral( "<td>%1</td><td>%2</td>" ).arg( tr( "Compiled against PDAL" ), PDAL_VERSION );
#if PDAL_VERSION_MAJOR_INT >= 2
#if PDAL_VERSION_MAJOR_INT > 1 || (PDAL_VERSION_MAJOR_INT == 1 && PDAL_VERSION_MINOR_INT >= 7)
versionString += QStringLiteral( "<td>%1</td><td>%2</td>" ).arg( tr( "Running against PDAL" ) ).arg( QString::fromStdString( pdal::Config::fullVersionString() ) );
#else
versionString += QStringLiteral( "<td>%1</td><td>%2</td>" ).arg( tr( "Running against PDAL" ) ).arg( QString::fromStdString( pdal::GetFullVersionString() ) );
Expand Down
2 changes: 1 addition & 1 deletion src/core/processing/qgsprocessingfeedback.cpp
Expand Up @@ -104,7 +104,7 @@ void QgsProcessingFeedback::pushVersionInfo( const QgsProcessingProvider *provid
#endif

#ifdef HAVE_PDAL
#if PDAL_VERSION_MAJOR_INT >= 2
#if PDAL_VERSION_MAJOR_INT > 1 || (PDAL_VERSION_MAJOR_INT == 1 && PDAL_VERSION_MINOR_INT >= 7)
pushDebugInfo( tr( "PDAL version: %1" ).arg( QString::fromStdString( pdal::Config::fullVersionString() ) ) );
#else
pushDebugInfo( tr( "PDAL version: %1" ).arg( QString::fromStdString( pdal::GetFullVersionString() ) ) );
Expand Down

0 comments on commit d6647b7

Please sign in to comment.