From 96062aab715c948b036ac65e61f5db0b60cbfb16 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Wed, 24 Jan 2024 11:12:40 -0800 Subject: [PATCH] Explicitly check SKIP_PYBIND11 for python bindings Signed-off-by: Steve Peters --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8157799113..0a78e4ec3c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -244,7 +244,7 @@ add_subdirectory(examples) #============================================================================ gz_create_packages() -if (pybind11_FOUND) +if (pybind11_FOUND AND NOT SKIP_PYBIND11) add_subdirectory(python) endif() #============================================================================