analogdevicesinc / libsmu

Software abstractions for the analog signal exploration tools.
http://analogdevicesinc.github.io/libsmu/
BSD 3-Clause "New" or "Revised" License
31 stars 31 forks source link

fixed bug in python cmake binding #204

Open dizcza opened 2 years ago

dizcza commented 2 years ago

Cmake version 3.4 wrongly identifies the python path. In particular, it picks system python rather than the local currently active (conda or virtualenv), resulting in an error - a rather untrivial case, made me think a lot to figure that out.

I haven't checked which CMake version fixes this, but 3.18 works fine.