Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix checking if environment variable is defined #308

Merged
merged 1 commit into from
Nov 16, 2018

Conversation

joerg-krause
Copy link
Contributor

The correct way to check if an environment variable is defined is to use if(DEFINED ENV{}).

See: https://cmake.org/pipermail/cmake/2011-October/046704.html

The correct way to check if an environment variable is defined is to use `if(DEFINED ENV{})`.

See: https://cmake.org/pipermail/cmake/2011-October/046704.html
@joerg-krause
Copy link
Contributor Author

Any feedback on this?

@rphillips rphillips merged commit 5abd5b3 into luvit:master Nov 16, 2018
@joerg-krause joerg-krause deleted the patch-1 branch November 16, 2018 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants