From 3847145c4661e339750aa42577ba65da7bddf59c Mon Sep 17 00:00:00 2001 From: JakobEngel Date: Fri, 31 Oct 2014 10:36:45 +0100 Subject: [PATCH] Update CMakeLists.txt fixed X11 linking error --- lsd_slam_core/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsd_slam_core/CMakeLists.txt b/lsd_slam_core/CMakeLists.txt index 21f2274f..86033ad1 100644 --- a/lsd_slam_core/CMakeLists.txt +++ b/lsd_slam_core/CMakeLists.txt @@ -84,7 +84,7 @@ include_directories( # build shared library. rosbuild_add_library(lsdslam SHARED ${SOURCE_FILES}) -target_link_libraries(lsdslam ${FABMAP_LIB} g2o_core g2o_stuff csparse cxsparse g2o_solver_csparse g2o_csparse_extension g2o_types_sim3 g2o_types_sba) +target_link_libraries(lsdslam ${FABMAP_LIB} g2o_core g2o_stuff csparse cxsparse g2o_solver_csparse g2o_csparse_extension g2o_types_sim3 g2o_types_sba X11) rosbuild_link_boost(lsdslam thread)