Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
lianghongzhuo authored May 12, 2020
1 parent cd38050 commit 5ab6fea
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions plugins/fclrave/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ if( FCL_FOUND )
STRING( REGEX REPLACE "[0-9]+.([0-9]+).[0-9]+" "\\1" FCL_MINOR_VERSION ${FCL_VERSION})

if(FCL_MINOR_VERSION GREATER "4")
# PkgConfig could send the flags as a list, so convert to a string
set(openrave_FCL_LDFLAGS)
foreach(arg ${FCL_LDFLAGS})
set(openrave_FCL_LDFLAGS "${openrave_FCL_LDFLAGS} ${arg}")
endforeach()

set(CMAKE_REQUIRED_INCLUDES ${FCL_INCLUDE_DIRS} ${FCL_INCLUDEDIR})
set(CMAKE_REQUIRED_FLAGS "${PLUGIN_COMPILE_FLAGS} ${FCL_CFLAGS_OTHER} -std=c++11 ${PLUGIN_LINK_FLAGS} ${openrave_FCL_LDFLAGS}")
set(CMAKE_REQUIRED_LIBRARIES fcl)
Expand Down

0 comments on commit 5ab6fea

Please sign in to comment.