Skip to content

Commit

Permalink
Explicitly check SKIP_PYBIND11 for python bindings
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters committed Jan 24, 2024
1 parent a267a68 commit 96062aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ add_subdirectory(examples)
#============================================================================
gz_create_packages()

if (pybind11_FOUND)
if (pybind11_FOUND AND NOT SKIP_PYBIND11)
add_subdirectory(python)
endif()
#============================================================================
Expand Down

0 comments on commit 96062aa

Please sign in to comment.