diff --git a/CMakeLists.txt b/CMakeLists.txt
index fa5f803f5165ccde79b6e7c1492db73750e47a79..9f392f403976da26b778830c7cecff8c06c215c3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -124,7 +124,7 @@ ADD_PROJECT_DEPENDENCY(Eigen3 REQUIRED PKG_CONFIG_REQUIRES "eigen3 >= 3.0.0")
 
 if(BUILD_PYTHON_INTERFACE)
   FINDPYTHON(REQUIRED)
-  FIND_PACKAGE(eigenpy 2.9.2 REQUIRED)
+  ADD_PROJECT_PRIVATE_DEPENDENCY(eigenpy 2.9.2 REQUIRED)
 endif()
 
 # Required dependencies