Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion launch_testing_ament_cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.5)

project(launch_testing_ament_cmake NONE)
project(launch_testing_ament_cmake)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is necessary for FindPythonLibs to determine the Python libraries and include dirs.


find_package(ament_cmake REQUIRED)

Expand All @@ -24,6 +24,10 @@ if(BUILD_TESTING)
message(FATAL_ERROR "launch_testing package not found")
endif()

# Provides PYTHON_EXECUTABLE_DEBUG
find_package(python_cmake_module REQUIRED)
find_package(PythonExtra REQUIRED)

# Test argument passing. This test won't pass unless you give it an argument
add_launch_test(
"${LAUNCH_TESTING_INSTALL_PREFIX}/share/launch_testing/examples/args_launch_test.py"
Expand Down
1 change: 1 addition & 0 deletions launch_testing_ament_cmake/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

<test_depend>ament_cmake_copyright</test_depend>
<test_depend>launch_testing</test_depend>
<test_depend>python_cmake_module</test_depend>

<export>
<build_type>ament_cmake</build_type>
Expand Down