Pass environment through cmake executable resolve#28
Conversation
|
@Gold872 Thanks for your contribution~ I am wondering why it's necessary to pass env vars explicitly? according to the doc, |
|
To preface, this is from my testing on windows where cmake isn't in the path by default At the start of the build, several environment variables are loaded through visual studio exectuables, which are used to find the cmake executable. The problem is during build, it uses the The full error message I got was extremely long, but essentially it was saying that the cmake executable could not be found by the |
|
Okay, that makes sense, thanks~ I will update the package version to 0.2.3 and merge it. |
|
Thanks again for your contribution~ 👍 |
Fixes issue where cmake executable couldn't be found on windows after parsing VS environment variables