Skip to content

Commit a54ed56

Browse files
author
HABU Miki
committed
コンパイルを通すためのCMakeListsの修正。
RobotWebTools#72 (comment) に記載されていたもので、 RobotWebTools#72 のPRに含まれていなかったもの
1 parent 6c0662a commit a54ed56

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

webrtc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.12)
1+
cmake_minimum_required(VERSION 3.5)
22
project(webrtc)
33

44
if(NOT IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/build/depot_tools" OR

webrtc_ros/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ find_package(webrtc REQUIRED)
1212
find_package(X11 REQUIRED)
1313
find_package(jsoncpp REQUIRED)
1414
find_package(OpenCV REQUIRED)
15+
find_package(ament_index_cpp REQUIRED)
1516

1617

1718
###########
@@ -58,6 +59,7 @@ ament_target_dependencies(
5859
rclcpp
5960
std_msgs
6061
webrtc_ros_msgs
62+
ament_index_cpp
6163

6264
)
6365

@@ -109,4 +111,4 @@ install(DIRECTORY scripts
109111
)
110112

111113

112-
ament_package()
114+
ament_package()

0 commit comments

Comments
 (0)