Skip to content

Commit 9738c3b

Browse files
committed
ADD: cmakelists update
1 parent cd9b18b commit 9738c3b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

robotiq_hande_driver/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@ add_executable(hande_driver src/hande_driver.cpp src/application.cpp src/protoco
1616
target_link_libraries(hande_driver ${catkin_LIBRARIES})
1717
target_link_libraries(hande_driver /lib/x86_64-linux-gnu/libmodbus.so)
1818

19+
add_executable(communication_test src/communication_test.c)
20+
target_link_libraries(communication_test ${catkin_LIBRARIES})
21+
target_link_libraries(communication_test /lib/x86_64-linux-gnu/libmodbus.so)
22+
1923
target_include_directories(hande_driver PUBLIC
2024
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
2125
$<INSTALL_INTERFACE:include>)
22-
target_compile_features(hande_driver PUBLIC c_std_99 cxx_std_20) # Require C99 and C++17
26+
target_compile_features(hande_driver PUBLIC c_std_99 cxx_std_17) # Require C99 and C++17
2327

2428
install(TARGETS hande_driver
2529
DESTINATION lib/${PROJECT_NAME})

0 commit comments

Comments
 (0)