Skip to content

Commit

Permalink
Add pybind11 subdirectory only if building python bindings (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
KarthikRIyer authored Mar 29, 2021
1 parent 5aeaedd commit 846bfb1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/deps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 846bfb1

Please sign in to comment.