Skip to content

Commit

Permalink
Make TEASER work with C++11
Browse files Browse the repository at this point in the history
Vendor the TEASER registration header from v2.0 release tag,
implementing workaround documented at
https://stackoverflow.com/a/17903225/1620549 to provide
std::make_unique.
  • Loading branch information
chambbj committed Nov 6, 2020
1 parent aaf5eea commit e72bb71
Show file tree
Hide file tree
Showing 3 changed files with 833 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/unix_compiler_options.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function(pdal_target_compile_settings target)
set_property(TARGET ${target} PROPERTY CXX_STANDARD 17)
set_property(TARGET ${target} PROPERTY CXX_STANDARD 11)
set_property(TARGET ${target} PROPERTY CXX_STANDARD_REQUIRED TRUE)
if (${CMAKE_CXX_COMPILER_ID} MATCHES "GNU")
#
Expand Down
2 changes: 1 addition & 1 deletion plugins/teaser/filters/TeaserFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#include <Eigen/Dense>

#include <teaser/matcher.h>
#include <teaser/registration.h>
#include "registration.h"

#include <numeric>

Expand Down

0 comments on commit e72bb71

Please sign in to comment.