Index: python-samplerate/CMakeLists.txt
===================================================================
--- python-samplerate.orig/CMakeLists.txt
+++ python-samplerate/CMakeLists.txt
@@ -8,12 +8,23 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
 
 set(PYBIND11_FINDPYTHON ON)
 
-# adds the external dependencies
-add_subdirectory(external)
+###################################################
+# no external dependencies for Debian
+###################################################
+# # adds the external dependencies
+# add_subdirectory(external)
 
+set(PYBIND11_FINDPYTHON ON)
+find_package(pybind11 CONFIG REQUIRED)
 pybind11_add_module(python-samplerate src/samplerate.cpp)
 
-target_include_directories(python-samplerate PRIVATE ./external/libsamplerate/include)
+###################################################
+# here is the path to C headers provided by the package python3-samplerate
+###################################################
+# 
+# target_include_directories(python-samplerate PRIVATE ./external/libsamplerate/include)
+
+target_include_directories(python-samplerate PRIVATE /usr/lib/python3/dist-packages/pybind11/include/)
 
 if(MSVC)
     target_compile_options(python-samplerate PRIVATE /EHsc /MP /bigobj)
