Skip to content

Conversation

cdecker08
Copy link

I'm not sure if its fixed in newer cmakes, but on my version (3.21.3) if(TARGET ${EMPTY_VARIABLE}) evaluates to true and causes syntax errors. Checking if the variable is empty before evaluatign if its a valid target mitigates this.

Signed-off-by: Christopher Decker <[email protected]>
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.

1 participant