File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ catkin_package(
20
20
CATKIN_DEPENDS message_runtime
21
21
)
22
22
23
- if ("$ENV{ROS_DISTRO} " MATCHES "indigo" )
23
+ if ("$ENV{ROS_DISTRO} " MATCHES "indigo" OR " $ENV{ROS_DISTRO} " MATCHES "kinetic" )
24
24
message (WARNING "nfc_ros requires python3.6 or newer. For indigo, virtualenv generation is skipped." )
25
25
else ()
26
26
catkin_generate_virtualenv (
@@ -36,7 +36,7 @@ install(FILES requirements.txt
36
36
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
37
37
)
38
38
39
- if (CATKIN_ENABLE_TESTING )
39
+ if (CATKIN_ENABLE_TESTING AND ( " $ENV{ROS_DISTRO} " MATCHES "indigo" OR " $ENV{ROS_DISTRO} " MATCHES "kinetic" ) )
40
40
find_package (rostest REQUIRED )
41
41
add_rostest (test /test_rospy_node.test
42
42
DEPENDENCIES ${PROJECT_NAME} _generate_virtualenv
You can’t perform that action at this time.
0 commit comments