We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 655c60d commit bb504ddCopy full SHA for bb504dd
tools/pybind11Common.cmake
@@ -184,8 +184,11 @@ if(PYBIND11_NOPYTHON)
184
# We won't use new FindPython if PYBIND11_FINDPYTHON is defined and falselike
185
# Otherwise, we use if FindPythonLibs is missing or if FindPython was already used
186
elseif(
187
- (NOT DEFINED PYBIND11_FINDPYTHON OR PYBIND11_FINDPYTHON)
+ (NOT DEFINED PYBIND11_FINDPYTHON
188
+ OR PYBIND11_FINDPYTHON STREQUAL "COMPAT"
189
+ OR PYBIND11_FINDPYTHON)
190
AND (_pybind11_missing_old_python STREQUAL "NEW"
191
192
OR PYBIND11_FINDPYTHON
193
OR Python_FOUND
194
OR Python3_FOUND
0 commit comments