Skip to content

Commit

Permalink
Let CMake find pybind after python
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Nov 18, 2020
1 parent 4995211 commit 0ba025b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/BipedalLocomotionFrameworkFindDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ checkandset_dependency(cppad)
find_package(manif QUIET)
checkandset_dependency(manif)

find_package(pybind11 CONFIG QUIET)
checkandset_dependency(pybind11)

find_package(Python3 3.6 COMPONENTS Interpreter Development QUIET)
checkandset_dependency(Python3 MINIMUM_VERSION 3.6 COMPONENTS Interpreter Development)

find_package(pybind11 2.2 CONFIG QUIET)
checkandset_dependency(pybind11)

framework_dependent_option(FRAMEWORK_COMPILE_YarpUtilities
"Compile YarpHelper library?" ON
"FRAMEWORK_USE_YARP" OFF)
Expand Down

0 comments on commit 0ba025b

Please sign in to comment.