gonetz / GLideN64

A new generation, open-source graphics plugin for N64 emulators.
Other
770 stars 177 forks source link

Fix build with CMake on Windows #2623

Closed fzurita closed 2 years ago

fzurita commented 2 years ago

What the title says.

It appears that "env" is required when using CMake in windows to declare an environment variable.

gonetz commented 2 years ago

@orbea please review this PR.

orbea commented 2 years ago

@gonetz Sorry for the slow reply. Frankly I haven't used windows in years, but if it works there it seems fine. env(1) is part of the posix spec and its used correctly.

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/env.html