From 8682e3f911bda24c8efc21f23cd959281a1c5c3c Mon Sep 17 00:00:00 2001 From: shkwon98 Date: Sun, 21 Apr 2024 21:46:10 +0900 Subject: [PATCH] Add library alias for BT::behaviortree_cpp --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e9a51414b..c3210547c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -187,6 +187,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} " )