Skip to content

Commit

Permalink
Find python before pybind11
Browse files Browse the repository at this point in the history
  • Loading branch information
BetsyMcPhail committed Oct 16, 2024
1 parent f2e8479 commit 05296bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions drake_ros/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ endif()
find_package(ament_cmake_ros REQUIRED)

find_package(drake REQUIRED)
find_package(Python3 COMPONENTS Interpreter Development)
# Must use Drake's fork of Pybind11
find_package(pybind11 REQUIRED HINTS "${drake_DIR}/../pybind11" NO_DEFAULT_PATH)

Expand Down
1 change: 0 additions & 1 deletion drake_ros/drake_ros/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ install(
)

if(BUILD_TESTING)
find_package(Python3 COMPONENTS Interpreter)
find_package(ament_cmake_test REQUIRED)

# TODO(eric.cousineau): I am not sure how to place a test-only Python library
Expand Down

0 comments on commit 05296bc

Please sign in to comment.