From db89b3d468e3a3cbfe806e4de5fdb15f2d089da4 Mon Sep 17 00:00:00 2001 From: "avikus-seonghyeon.kwon" Date: Wed, 24 Apr 2024 18:53:25 +0900 Subject: [PATCH] Add library alias for BT::behaviortree_cpp (#808) --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c42689653..1481cf006 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -186,6 +186,8 @@ else() target_compile_options(${BTCPP_LIBRARY} PRIVATE -Wall -Wextra) endif() +add_library(BT::${BTCPP_LIBRARY} ALIAS ${BTCPP_LIBRARY}) + ############################################################# message( STATUS "BTCPP_LIB_DESTINATION: ${BTCPP_LIB_DESTINATION} " ) message( STATUS "BTCPP_INCLUDE_DESTINATION: ${BTCPP_INCLUDE_DESTINATION} " )