diff --git a/src/deps/CMakeLists.txt b/src/deps/CMakeLists.txt index fc165c8a6..5e3cfd8aa 100644 --- a/src/deps/CMakeLists.txt +++ b/src/deps/CMakeLists.txt @@ -12,7 +12,9 @@ foreach(submodule IN LISTS DEPS_SUBMODULES) endif() endforeach() -add_subdirectory(pybind11) +if(OTIO_PYTHON_INSTALL) + add_subdirectory(pybind11) +endif() if(OTIO_DEPENDENCIES_INSTALL) install(FILES any/any.hpp