Skip to content

Commit abe8a8f

Browse files
developer-mkhHABU Miki
andauthored
CMakeListsの修正 (#1)
* コンパイルを通すためのCMakeListsの修正。 RobotWebTools#72 (comment) に記載されていたもので、 RobotWebTools#72 のPRに含まれていなかったもの * .gitignore更新 (buildなどのROS 2ビルド後に作成されるフォルダを追加) --------- Co-authored-by: HABU Miki <[email protected]>
1 parent 6c0662a commit abe8a8f

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
CMakeLists.txt
22
.vscode/
3+
build/
4+
install/
5+
log/

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)