jrl-umi3218 / jrl-cmakemodules

CMake utility toolbox
https://jrl-cmakemodules.readthedocs.io/en/master/
Other
56 stars 46 forks source link

Update PATH when running generate_stubs on Windows #637

Closed jorisv closed 7 months ago

jorisv commented 7 months ago

generate_stubs need to load an uninstalled Python binding. This can be an issue when the Python binding have internal dependencies on Windows. This PR modify the PATH to allow Python to find those internal dependencies.

On Linux and Mac, this is not an issue thanks to the RPATH.

jorisv commented 7 months ago

I can't really help reviewing this, as my knowledge with WIN32 is null, sorry.

Ok, no problem, you can remove yourself from the review (I didn't find if I can do it myself).