Skip to content

Commit

Permalink
Disable pybind11 on windows by default (#529)
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey authored and scpeters committed Apr 6, 2023
1 parent 0667176 commit 4bb6a73
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@ option(SKIP_SWIG
"Skip generating ruby bindings via Swig"
OFF)

set(skip_pybind11_default_value OFF)
if (MSVC)
set(skip_pybind11_default_value ON)
endif()

option(SKIP_PYBIND11
"Skip generating Python bindings via pybind11"
OFF)
${skip_pybind11_default_value})

include(CMakeDependentOption)
cmake_dependent_option(USE_SYSTEM_PATHS_FOR_RUBY_INSTALLATION
Expand Down

0 comments on commit 4bb6a73

Please sign in to comment.