Skip to content

Commit

Permalink
Add install interface for the include directory
Browse files Browse the repository at this point in the history
  • Loading branch information
JafarAbdi authored and sjahr committed May 23, 2023
1 parent 3b043dc commit 1df04f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ ament_target_dependencies(${PROJECT_NAME}
)
target_include_directories(${PROJECT_NAME}
PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:include>
)

add_subdirectory(stages)
Expand Down

0 comments on commit 1df04f9

Please sign in to comment.