Skip to content

Commit db89b3d

Browse files
authored
Add library alias for BT::behaviortree_cpp (#808)
1 parent fc041fe commit db89b3d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ else()
186186
target_compile_options(${BTCPP_LIBRARY} PRIVATE -Wall -Wextra)
187187
endif()
188188

189+
add_library(BT::${BTCPP_LIBRARY} ALIAS ${BTCPP_LIBRARY})
190+
189191
#############################################################
190192
message( STATUS "BTCPP_LIB_DESTINATION: ${BTCPP_LIB_DESTINATION} " )
191193
message( STATUS "BTCPP_INCLUDE_DESTINATION: ${BTCPP_INCLUDE_DESTINATION} " )

0 commit comments

Comments
 (0)