Skip to content

Commit

Permalink
better cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
facontidavide committed Jan 26, 2024
1 parent 600542f commit 91f973e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)

# Override Fast-CDR option: compile as static lib
add_subdirectory(3rdparty/Fast-CDR)
include_directories(3rdparty/Fast-CDR/include)

###############################################
## Declare a C++ library
Expand All @@ -30,5 +29,6 @@ target_link_libraries(rosx_introspection

target_include_directories(rosx_introspection PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/Fast-CDR/include>
)

0 comments on commit 91f973e

Please sign in to comment.