Skip to content

Commit a99eb57

Browse files
committed
rosidl_generator_c including headers in CMakeLists.txt
1 parent c76cd28 commit a99eb57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rosidl_generator_c/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ if(BUILD_TESTING)
6161
)
6262

6363
# include the built files directly, instead of their install location
64-
include_directories("${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}")
64+
include_directories("${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}" ${rosidl_runtime_c_INCLUDE_DIRS})
6565
target_link_libraries(test_compilation_c
6666
${PROJECT_NAME}_interfaces__${PROJECT_NAME}
6767
${rosidl_runtime_c_LIBRARIES}

0 commit comments

Comments
 (0)