add console_brigde
This commit is contained in:
@@ -19,6 +19,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
find_package(Boost REQUIRED COMPONENTS filesystem system)
|
||||
find_package(Threads REQUIRED)
|
||||
find_package(yaml-cpp REQUIRED)
|
||||
find_package(console_bridge REQUIRED)
|
||||
|
||||
if (NOT BUILDING_WITH_CATKIN)
|
||||
|
||||
@@ -108,6 +109,7 @@ if(BUILDING_WITH_CATKIN)
|
||||
PRIVATE Boost::filesystem Boost::system
|
||||
dl
|
||||
${TF3_LIBRARY}
|
||||
${console_bridge_LIBRARIES}
|
||||
)
|
||||
|
||||
else()
|
||||
@@ -123,6 +125,7 @@ else()
|
||||
PUBLIC
|
||||
${PACKAGES_DIR}
|
||||
${TF3_LIBRARY}
|
||||
${console_bridge_LIBRARIES}
|
||||
PRIVATE
|
||||
Boost::filesystem Boost::system
|
||||
yaml-cpp
|
||||
@@ -149,6 +152,7 @@ if(BUILDING_WITH_CATKIN)
|
||||
Boost::filesystem Boost::system
|
||||
dl
|
||||
${TF3_LIBRARY}
|
||||
${console_bridge_LIBRARIES}
|
||||
)
|
||||
else()
|
||||
target_link_libraries(${PROJECT_NAME}_main PRIVATE
|
||||
@@ -157,6 +161,7 @@ else()
|
||||
Boost::filesystem Boost::system
|
||||
dl
|
||||
${TF3_LIBRARY}
|
||||
${console_bridge_LIBRARIES}
|
||||
)
|
||||
|
||||
# Configure RPATH to find libraries in devel space
|
||||
|
||||
Reference in New Issue
Block a user