This is an archive of the discontinued LLVM Phabricator instance.

[cmake] Fix libomptarget/test/CMakeLists.txt
ClosedPublic

Authored by azharudd on May 22 2018, 1:14 PM.

Details

Summary

Should be variable name instead of variable reference. If the variable is
somehow unset, it messes up the if condition expression and causes a CMake
error.

Diff Detail

Repository
rL LLVM

Event Timeline

azharudd created this revision.May 22 2018, 1:14 PM
Hahnfeld accepted this revision.May 25 2018, 8:56 AM

You are absolutely right, thanks for spotting this!

This revision is now accepted and ready to land.May 25 2018, 8:56 AM
This revision was automatically updated to reflect the committed changes.