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(Boost REQUIRED COMPONENTS filesystem system)
|
||||||
find_package(Threads REQUIRED)
|
find_package(Threads REQUIRED)
|
||||||
find_package(yaml-cpp REQUIRED)
|
find_package(yaml-cpp REQUIRED)
|
||||||
|
find_package(console_bridge REQUIRED)
|
||||||
|
|
||||||
if (NOT BUILDING_WITH_CATKIN)
|
if (NOT BUILDING_WITH_CATKIN)
|
||||||
|
|
||||||
@@ -108,6 +109,7 @@ if(BUILDING_WITH_CATKIN)
|
|||||||
PRIVATE Boost::filesystem Boost::system
|
PRIVATE Boost::filesystem Boost::system
|
||||||
dl
|
dl
|
||||||
${TF3_LIBRARY}
|
${TF3_LIBRARY}
|
||||||
|
${console_bridge_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
else()
|
else()
|
||||||
@@ -123,6 +125,7 @@ else()
|
|||||||
PUBLIC
|
PUBLIC
|
||||||
${PACKAGES_DIR}
|
${PACKAGES_DIR}
|
||||||
${TF3_LIBRARY}
|
${TF3_LIBRARY}
|
||||||
|
${console_bridge_LIBRARIES}
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Boost::filesystem Boost::system
|
Boost::filesystem Boost::system
|
||||||
yaml-cpp
|
yaml-cpp
|
||||||
@@ -149,6 +152,7 @@ if(BUILDING_WITH_CATKIN)
|
|||||||
Boost::filesystem Boost::system
|
Boost::filesystem Boost::system
|
||||||
dl
|
dl
|
||||||
${TF3_LIBRARY}
|
${TF3_LIBRARY}
|
||||||
|
${console_bridge_LIBRARIES}
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
target_link_libraries(${PROJECT_NAME}_main PRIVATE
|
target_link_libraries(${PROJECT_NAME}_main PRIVATE
|
||||||
@@ -157,6 +161,7 @@ else()
|
|||||||
Boost::filesystem Boost::system
|
Boost::filesystem Boost::system
|
||||||
dl
|
dl
|
||||||
${TF3_LIBRARY}
|
${TF3_LIBRARY}
|
||||||
|
${console_bridge_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
# Configure RPATH to find libraries in devel space
|
# Configure RPATH to find libraries in devel space
|
||||||
|
|||||||
Reference in New Issue
Block a user