diff --git a/replay_testing-extras.cmake b/replay_testing-extras.cmake index 88b580c..d4718d4 100644 --- a/replay_testing-extras.cmake +++ b/replay_testing-extras.cmake @@ -13,7 +13,7 @@ # limitations under the License. find_package(ament_cmake_test REQUIRED) -find_package(python_cmake_module REQUIRED) -find_package(PythonExtra REQUIRED) +find_package(Python3 REQUIRED COMPONENTS Interpreter) +get_target_property(PYTHON_EXECUTABLE Python3::Interpreter LOCATION) include("${replay_testing_DIR}/add_replay_test.cmake")