Skip to content

Commit 13fe368

Browse files
committed
update cmakelist
1 parent 173064d commit 13fe368

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

map_eval/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ set(CMAKE_CXX_STANDARD 17)
55
set(CMAKE_BUILD_TYPE Release)
66

77
#if you can not find your open3d install path, just mannually set it
8-
#set(Open3D_DIR "/home/xchu/xicp_ws/devel/.private/open3d_catkin/lib/cmake/Open3D")
9-
#message(STATUS "LTLoc: Set Open3D_DIR to ${Open3D_DIR}") # 打印信息,确认设置生效
8+
set(Open3D_DIR "/home/xchu/xicp_ws/devel/.private/open3d_catkin/lib/cmake/Open3D")
9+
message(STATUS "LTLoc: Set Open3D_DIR to ${Open3D_DIR}") # 打印信息,确认设置生效
1010

1111
find_package(Open3D REQUIRED)
1212
find_package(Eigen3 REQUIRED)
@@ -31,7 +31,7 @@ include_directories(
3131
)
3232

3333
add_executable(map_eval src/map_eval.cpp src/map_eval_main.cpp src/voxel_calculator.cpp)
34-
target_link_libraries(map_eval ${Open3D_LIBRARIES} ${PCL_LIBRARIES} ${YAML_CPP_LIBRARY})
34+
target_link_libraries(map_eval ${Open3D_LIBRARIES} ${PCL_LIBRARIES} yaml-cpp)
3535

3636

3737

0 commit comments

Comments
 (0)