Skip to content

Commit

Permalink
Unsupport indigo version
Browse files Browse the repository at this point in the history
  • Loading branch information
aohsato committed Mar 16, 2019
1 parent 52a2ba3 commit ac29e87
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions ros/src/actuation/vehicles/packages/ymc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ include_directories(
include
)

IF (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 5.1)
set(LIB_VERSION 2.0) # _GLIBCXX_USE_CXX11_ABI is 1
ELSE ()
set(LIB_VERSION 1.0) # _GLIBCXX_USE_CXX11_ABI is 0
ENDIF ()

add_executable(g30esli_interface
node/g30esli_interface/g30esli_interface.cpp
)
Expand All @@ -51,7 +45,7 @@ add_dependencies(g30esli_interface

target_link_libraries(g30esli_interface
${catkin_LIBRARIES}
${CMAKE_CURRENT_SOURCE_DIR}/lib/libymc_can_${LIB_VERSION}${LIB_ARCH}.a
${CMAKE_CURRENT_SOURCE_DIR}/lib/libymc_can${LIB_ARCH}.a
)

install(TARGETS g30esli_interface
Expand All @@ -61,4 +55,4 @@ install(TARGETS g30esli_interface

install(DIRECTORY launch/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch
PATTERN ".svn" EXCLUDE)
PATTERN ".svn" EXCLUDE)

0 comments on commit ac29e87

Please sign in to comment.