Skip to content

Commit

Permalink
SupportSetFunc: add missing define for windows std::sort
Browse files Browse the repository at this point in the history
This flag needs to be present at the CMakeLists level, as Eigen
is present everywhere in hpp-fcl.
  • Loading branch information
lmontaut committed May 10, 2024
1 parent 51f01a8 commit 343f892
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@ IF(WIN32)
Boost::thread
Boost::date_time
)
# There is an issue with MSVC 2017 and Eigen (due to std::aligned_storage).
# See https://github.com/ceres-solver/ceres-solver/issues/481
target_compile_definitions(${LIBRARY_NAME} PRIVATE _ENABLE_EXTENDED_ALIGNED_STORAGE)
ENDIF(WIN32)

if (HPP_FCL_TURN_ASSERT_INTO_EXCEPTION)
Expand Down
2 changes: 2 additions & 0 deletions src/narrowphase/support_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@

#include "hpp/fcl/narrowphase/support_functions.h"

#include <algorithm>

namespace hpp {
namespace fcl {
namespace details {
Expand Down

0 comments on commit 343f892

Please sign in to comment.