You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a few problems with libuavcan CMakeLists.txt.
There is no call to target_include_directories, meaning that when the user links to uavcan the user application cannot reference the uavcan include folder without adding this themselves. Should add:
target_include_directories(uavcan
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/libuavcan/include
${CMAKE_CURRENT_SOURCE_DIR}/libuavcan/include/dsdlc_generated/
)
It always tries to build tests on debug builds. Should allow this to be turned on/off with a debug flag. Otherwise, this builds for all users who are including it as a submodule and making debug builds.
The text was updated successfully, but these errors were encountered:
There are a few problems with libuavcan CMakeLists.txt.
target_include_directories
, meaning that when the user links touavcan
the user application cannot reference the uavcan include folder without adding this themselves. Should add:The text was updated successfully, but these errors were encountered: