Skip to content

Commit

Permalink
Fix ALIAS of WearableData and WearableActuators to match the name of …
Browse files Browse the repository at this point in the history
…the installed targets
  • Loading branch information
traversaro committed Sep 26, 2024
1 parent ec0d314 commit 516e365
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bindings/python-wearables/msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ add_wearables_python_module(
NAME MsgsBindings
SOURCES src/WearableData.cpp src/Module.cpp
HEADERS ${H_PREFIX}/WearableData.h ${H_PREFIX}/BufferedPort.h ${H_PREFIX}/Module.h
LINK_LIBRARIES Wearable::WearableData YARP::YARP_os)
LINK_LIBRARIES WearableData::WearableData YARP::YARP_os)
4 changes: 2 additions & 2 deletions devices/IWearRemapper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ target_include_directories(IWearRemapper PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>)

target_link_libraries(IWearRemapper PUBLIC
IWear::IWear
Wearable::WearableData
IWear::IWear
WearableData::WearableData
Wearable::SensorsImpl
YARP::YARP_dev
YARP::YARP_os
Expand Down
4 changes: 2 additions & 2 deletions msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
yarp_add_idl(WEARABLEDATA_FILES thrift/WearableData.thrift)

add_library(WearableData ${WEARABLEDATA_FILES} thrift/WearableData.thrift)
add_library(Wearable::WearableData ALIAS WearableData)
add_library(WearableData::WearableData ALIAS WearableData)
target_link_libraries(WearableData YARP::YARP_os)

# Extract the include directory from the files names
Expand Down Expand Up @@ -60,7 +60,7 @@ install(FILES ${WEARABLEDATA_FILES}
yarp_add_idl(WEARABLEACTUATORS_FILES thrift/WearableActuators.thrift)

add_library(WearableActuators ${WEARABLEACTUATORS_FILES} thrift/WearableActuators.thrift)
add_library(Wearable::WearableActuators ALIAS WearableActuators)
add_library(WearableActuators::WearableActuators ALIAS WearableActuators)
target_link_libraries(WearableActuators YARP::YARP_os)

# Extract the include directory from the files names
Expand Down

0 comments on commit 516e365

Please sign in to comment.