Skip to content

Commit

Permalink
add messages path
Browse files Browse the repository at this point in the history
  • Loading branch information
lrapetti committed Nov 12, 2019
1 parent d89d6ea commit a868e32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions msgs/thrift/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ foreach(dir ${WEARABLEDATA_INCLUDE_DIRS})
endforeach()

# Setup the include directories
list(APPEND WEARABLEDATA_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}/msgs/thrift/wearable/msg)
target_include_directories(WearableData PUBLIC
$<BUILD_INTERFACE:${WEARABLEDATA_INCLUDE_DIRS}>)

Expand Down Expand Up @@ -73,6 +74,7 @@ foreach(dir ${XSENSSUITCONTROL_INCLUDE_DIRS})
endforeach()

# Setup the include directories
list(APPEND WEARABLEDATA_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}/msgs/thrift/wearable/msg)

This comment has been minimized.

Copy link
@traversaro

traversaro Nov 12, 2019

I am afraid that this is a no-op, as WEARABLEDATA_INCLUDE_DIRS is passed to target_include_directories (by value) much before.

This comment has been minimized.

Copy link
@lrapetti

lrapetti Nov 12, 2019

Author Owner

yes, sorry, copy-past error from above. Here should be XSENSSUITCONTROL_INCLUDE_DIRS. Anyway, this doesn't change anything since XsensSuitControl is not including other messages and was compiling fine.

target_include_directories(XsensSuitControl PUBLIC
$<BUILD_INTERFACE:${XSENSSUITCONTROL_INCLUDE_DIRS}>)

Expand Down

0 comments on commit a868e32

Please sign in to comment.