Skip to content

Commit c04b7fd

Browse files
committed
Update package.xml and CMakeLists for Noetic
* package.xml updated to version 3 to allow conditional dependencies * CMakeLists: cmake_minimum_required set to 3.0.2
1 parent fac1c09 commit c04b7fd

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

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.3)
1+
cmake_minimum_required(VERSION 3.0.2)
22
project(async_web_server_cpp)
33

44
## Find catkin macros and libraries

package.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<package format="2">
1+
<package format="3">
22
<name>async_web_server_cpp</name>
33
<version>0.0.3</version>
44
<description>Asynchronous Web/WebSocket Server in C++</description>
@@ -23,5 +23,6 @@
2323
<test_depend>rostest</test_depend>
2424
<test_depend>rospy</test_depend>
2525
<test_depend>roslib</test_depend>
26-
<test_depend>python-websocket</test_depend>
26+
<test_depend condition="$ROS_PYTHON_VERSION==2">python-websocket</test_depend>
27+
<test_depend condition="$ROS_PYTHON_VERSION==3">python3-websocket</test_depend>
2728
</package>

0 commit comments

Comments
 (0)