Skip to content
Snippets Groups Projects
Unverified Commit 86fdcd17 authored by Joris Vaillant's avatar Joris Vaillant
Browse files

cmake: Setup PYTHON_COMPONENTs before calling FINDPYTHON

parent be3a1bdf
No related branches found
No related tags found
No related merge requests found
......@@ -124,6 +124,7 @@ CMAKE_DEPENDENT_OPTION(GENERATE_PYTHON_STUBS "Generate the Python stubs associat
ADD_PROJECT_DEPENDENCY(Eigen3 REQUIRED PKG_CONFIG_REQUIRES "eigen3 >= 3.0.0")
if(BUILD_PYTHON_INTERFACE)
SET(PYTHON_COMPONENTS Interpreter Development NumPy)
FINDPYTHON(REQUIRED)
ADD_PROJECT_PRIVATE_DEPENDENCY(eigenpy 2.9.2 REQUIRED)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment