diff --git a/aip_urdf_compiler/cmake/aip_cmake_urdf_compile.cmake b/aip_urdf_compiler/cmake/aip_cmake_urdf_compile.cmake index d38f03c7..70c13c47 100644 --- a/aip_urdf_compiler/cmake/aip_cmake_urdf_compile.cmake +++ b/aip_urdf_compiler/cmake/aip_cmake_urdf_compile.cmake @@ -3,6 +3,7 @@ macro(aip_cmake_urdf_compile) # Set the correct paths + find_package(PythonInterp REQUIRED) # cspell: ignore Interp set(aip_urdf_compiler_BASE_DIR "${aip_urdf_compiler_DIR}/../") set(PYTHON_SCRIPT "${aip_urdf_compiler_BASE_DIR}/scripts/compile_xacro.py") set(PYTHON_TEMPLATE_DIRECTORY "${aip_urdf_compiler_BASE_DIR}/templates") diff --git a/aip_xx1_description/CMakeLists.txt b/aip_xx1_description/CMakeLists.txt index 8e5d88df..362fb6da 100644 --- a/aip_xx1_description/CMakeLists.txt +++ b/aip_xx1_description/CMakeLists.txt @@ -6,8 +6,6 @@ find_package(aip_urdf_compiler REQUIRED) ament_auto_find_build_dependencies() -find_package(PythonInterp REQUIRED) # cspell: ignore Interp - aip_cmake_urdf_compile() ament_auto_package(INSTALL_TO_SHARE diff --git a/aip_xx1_gen2_description/CMakeLists.txt b/aip_xx1_gen2_description/CMakeLists.txt index d20cc2c5..782df039 100644 --- a/aip_xx1_gen2_description/CMakeLists.txt +++ b/aip_xx1_gen2_description/CMakeLists.txt @@ -6,8 +6,6 @@ find_package(aip_urdf_compiler REQUIRED) ament_auto_find_build_dependencies() -find_package(PythonInterp REQUIRED) # cspell: ignore Interp - aip_cmake_urdf_compile() ament_auto_package(INSTALL_TO_SHARE