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 cb3d406 commit 2e37fe0Copy full SHA for 2e37fe0
tools/FindPythonLibsNew.cmake
@@ -50,7 +50,8 @@
50
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
51
#=============================================================================
52
53
-if(PYTHONLIBS_FOUND)
+# Checking for the extension makes sure that `LibsNew` was found and not just `Libs`.
54
+if(PYTHONLIBS_FOUND AND PYTHON_MODULE_EXTENSION)
55
return()
56
endif()
57
0 commit comments