diff --git a/CMakeLists.txt b/CMakeLists.txt
index c8d2974537ca9a3dbb0aabc55c2056a0c7dc7e9b..2abe8a6a73824b87e376b59f5bceddc666e82d74 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -73,6 +73,7 @@ if(CMAKE_CROSSCOMPILING)
 else()
   set(PYTHON_COMPONENTS Interpreter Development.Module NumPy)
 endif()
+set(PYTHON_EXPORT_DEPENDENCY ON)
 FINDPYTHON()
 
 IF(WIN32)
diff --git a/cmake b/cmake
index acedbab3743d87368d6fca446d85d35ba0c3f1b8..cf8b78dd9cdb220e77623d2997bf223f39da563f 160000
--- a/cmake
+++ b/cmake
@@ -1 +1 @@
-Subproject commit acedbab3743d87368d6fca446d85d35ba0c3f1b8
+Subproject commit cf8b78dd9cdb220e77623d2997bf223f39da563f