diff --git a/src/dynamixel_pan_tilt.h b/include/dynamixel_pan_tilt.h similarity index 100% rename from src/dynamixel_pan_tilt.h rename to include/dynamixel_pan_tilt.h diff --git a/src/dynamixel_pan_tilt_exceptions.h b/include/dynamixel_pan_tilt_exceptions.h similarity index 100% rename from src/dynamixel_pan_tilt_exceptions.h rename to include/dynamixel_pan_tilt_exceptions.h diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a682741e0d5a941ec8a07cff5eb6dd44185f3c0d..93c9bee7b6482f3cba12767babd6a4fcfba55a49 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -4,7 +4,9 @@ ADD_SUBDIRECTORY(xml) SET(sources dynamixel_pan_tilt.cpp dynamixel_pan_tilt_exceptions.cpp) # edit the following line to add all the header files of the library -SET(headers dynamixel_pan_tilt.h dynamixel_pan_tilt_exceptions.h) +SET(headers ../include/dynamixel_pan_tilt.h ../include/dynamixel_pan_tilt_exceptions.h) + +INCLUDE_DIRECTORIES(../include) FIND_PACKAGE(iriutils REQUIRED)