Unverified Commit 3232e59b authored by Wenzel Jakob's avatar Wenzel Jakob Committed by GitHub
Browse files

Check if module file extension could be queried correctly (#2538)

On very incomplete python installations (e.g. within Docker), it's
possible that distutils is not installed. In that case, the
``execute_command`` statement that queries distutils for the Python
module extension fails, and pybind11 uses the empty string. This commit
adds an extra check that causes a CMake failure with more actionable
information (just spent a lot of time trying to track down this problem :))
parent 01ad8920
Supports Markdown
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