Skip to content

Commit

Permalink
find NumPy module inside pybind11 (RobotLocomotion#5158)
Browse files Browse the repository at this point in the history
* let pybind11 find NumPy because it has the correct cmake module path

* update pybind11 to get find_dependency

* pybind11Config is difficult

* fix whitespace

* try to update to upstream pybind11 lto fixes

* fix typo which was causing mac type lookup failure

* fix one more pybind11 version error
  • Loading branch information
rdeits authored Feb 15, 2017
1 parent b2fefb5 commit f678a55
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion cmake/packages.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ macro(drake_find_packages)
drake_find_package(meshconverters CONFIG)
drake_find_package(mosek CONFIG)
drake_find_package(NLopt CONFIG)
drake_find_package(NumPy CONFIG)
drake_find_package(octomap CONFIG)
drake_find_package(pybind11 CONFIG)
drake_find_package(robotlocomotion-lcmtypes CONFIG)
Expand Down
2 changes: 1 addition & 1 deletion drake/bindings/pybind11/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ install(TARGETS _pydrake_autodiffutils DESTINATION ${PYDRAKE_INSTALL_DIR})

pybind11_add_module(_pydrake_ik pydrake_ik.cc)
target_link_libraries(_pydrake_ik PRIVATE drakeIK Eigen3::Eigen)
target_compile_options(_pydrake_autodiffutils PRIVATE "-fvisibility=default")
target_compile_options(_pydrake_ik PRIVATE "-fvisibility=default")
install(TARGETS _pydrake_ik DESTINATION ${PYDRAKE_INSTALL_DIR}/solvers)

0 comments on commit f678a55

Please sign in to comment.