Skip to content

FindPythonLibsNew.cmake not working with MSYS Python interpreter #1406

Closed
@fteicht

Description

@fteicht

FindPythonLibsNew.cmake tests for windows system (CMAKE_HOST_WIN32 is true) then it assumes that the Python interpreter works with windows-like directories hierarchy (lines 141-143).
However, it does not work when using MSYS' python interpreter which assumes a Unix-like directories hierarchy.
Note that compiling python bindings with MSYS' mingw compiler requires to use MSYS' python interpreter. For instance, anaconda's interpreter's include files do not need to be compatible with MSYS' compiler due to version mismatch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions