File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.16)
22project (robotiq_hande_driver)
33
4- if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
4+ if (CMAKE_CXX_COMPILER_ID MATCHES "(GNU| Clang) " )
55 add_compile_options (-Wall -Wextra -Wpedantic)
66endif ()
77
@@ -19,15 +19,13 @@ foreach(Dependency IN ITEMS ${HW_IF_INCLUDE_DEPENDS})
1919 find_package (${Dependency} REQUIRED)
2020endforeach ()
2121
22- add_library (
23- ${PROJECT_NAME}
22+ add_library (${PROJECT_NAME}
2423 SHARED
2524 hardware/src/hande_hardware_interface.cpp
2625)
2726
2827target_compile_features (${PROJECT_NAME} PUBLIC cxx_std_17)
29- target_include_directories (
30- robotiq_hande_driver PUBLIC
28+ target_include_directories (robotiq_hande_driver PUBLIC
3129 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /hardware/include >
3230 $<INSTALL_INTERFACE:include >
3331)
You can’t perform that action at this time.
0 commit comments