forked from Archive/PX4-Autopilot
add include path for crc32.h on "posix" and "ros2" platform
This commit is contained in:
parent
7394a20a58
commit
22ee90b7d7
|
@ -201,4 +201,8 @@ if(${PX4_PLATFORM} STREQUAL "nuttx")
|
|||
target_link_libraries(parameters PRIVATE flashparams)
|
||||
endif()
|
||||
|
||||
if(${PX4_PLATFORM} STREQUAL "posix" OR ${PX4_PLATFORM} STREQUAL "ros2")
|
||||
target_include_directories(parameters PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/../../../platforms/posix/include/")
|
||||
endif()
|
||||
|
||||
px4_add_functional_gtest(SRC ParameterTest.cpp LINKLIBS parameters)
|
||||
|
|
Loading…
Reference in New Issue