Skip to content

Commit f28f679

Browse files
authored
Explicitly check SKIP_PYBIND11 for python bindings (#2298)
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
1 parent 0c445fb commit f28f679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ add_subdirectory(examples)
244244
#============================================================================
245245
gz_create_packages()
246246

247-
if (pybind11_FOUND)
247+
if (pybind11_FOUND AND NOT SKIP_PYBIND11)
248248
add_subdirectory(python)
249249
endif()
250250
#============================================================================

0 commit comments

Comments
 (0)