Commit 4f0727f2 by Weiming Zhao Committed by GitHub

Fix the enabling of default extension handling (#2938)

parent 16c23fef
...@@ -230,7 +230,7 @@ function(pybind11_add_module target_name) ...@@ -230,7 +230,7 @@ function(pybind11_add_module target_name)
endif() endif()
# If we don't pass a WITH_SOABI or WITHOUT_SOABI, use our own default handling of extensions # If we don't pass a WITH_SOABI or WITHOUT_SOABI, use our own default handling of extensions
if(NOT ARG_WITHOUT_SOABI OR NOT "WITH_SOABI" IN_LIST ARG_UNPARSED_ARGUMENTS) if(NOT ARG_WITHOUT_SOABI AND NOT "WITH_SOABI" IN_LIST ARG_UNPARSED_ARGUMENTS)
pybind11_extension(${target_name}) pybind11_extension(${target_name})
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment