Skip to content

Commit

Permalink
Add ALIAS targets for urdfdom libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Jul 10, 2024
1 parent 29426ec commit 50f1f86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions urdf_parser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ macro(add_urdfdom_library)

add_library(${add_urdfdom_library_LIBNAME} SHARED
${add_urdfdom_library_SOURCES})
add_library(urdfdom::${add_urdfdom_library_LIBNAME} ALIAS ${add_urdfdom_library_LIBNAME})
target_include_directories(${add_urdfdom_library_LIBNAME} PUBLIC
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
Expand Down

0 comments on commit 50f1f86

Please sign in to comment.