Skip to content

Commit

Permalink
condition axis order test on whether GDAL 3 is available
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Feb 7, 2020
1 parent 43225a1 commit 8600bba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/unit/SpatialReferenceTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,9 @@ TEST(SpatialReferenceTest, set_srs)
std::string::npos);
}

#endif // PDAL_HAVE_LIBXML2

#if GDAL_VERSION_MAJOR >= 3
// Test setting EPSG:4326 from User string
TEST(SpatialReferenceTest, axis_ordering)
{
Expand Down Expand Up @@ -554,8 +556,8 @@ TEST(SpatialReferenceTest, axis_ordering)


}
#endif


#endif // PDAL_HAVE_LIBXML2

} // namespace pdal

0 comments on commit 8600bba

Please sign in to comment.