fix file cmake
This commit is contained in:
@@ -21,7 +21,6 @@ find_package(Eigen3 REQUIRED) # Thư viện Eigen cho toán học
|
||||
find_package(Boost REQUIRED COMPONENTS system thread filesystem) # Boost: system, thread, filesystem
|
||||
find_package(GTest REQUIRED) # Google Test cho unit test
|
||||
find_package(PCL REQUIRED COMPONENTS common io) # Point Cloud Library
|
||||
find_package(xmlrpcpp REQUIRED) # XML-RPC client/server library
|
||||
|
||||
# --- Define macro để dùng trong code ---
|
||||
add_definitions(-DCOSTMAP_2D_DIR="${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
@@ -124,6 +123,7 @@ target_link_libraries(plugins
|
||||
costmap_2d
|
||||
${Boost_LIBRARIES}
|
||||
yaml-cpp
|
||||
robot_time
|
||||
)
|
||||
|
||||
|
||||
@@ -150,5 +150,6 @@ if(BUILD_COSTMAP_TESTS)
|
||||
yaml-cpp
|
||||
tf3
|
||||
GTest::GTest GTest::Main
|
||||
robot_time
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user