[cmake] Fix libomptarget/test/CMakeLists.txt
authorAzharuddin Mohammed <azharudd@codeaurora.org>
Sun, 15 Jul 2018 17:29:43 +0000 (17:29 +0000)
committerAzharuddin Mohammed <azharudd@codeaurora.org>
Sun, 15 Jul 2018 17:29:43 +0000 (17:29 +0000)
commit6712b8675bdc7775d1d650325681da7e0a267962
tree65f2e9dd1f4c559434c58c37b3caedbe76dc2ac0
parent79a423cfa2de75dcf89b270b4ccb0a50b0d40802
[cmake] Fix libomptarget/test/CMakeLists.txt

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.

Reviewers: jlpeyton, AndreyChurbanov, Hahnfeld

Reviewed By: Hahnfeld

Subscribers: mgorny, llvm-commits, openmp-commits

Differential Revision: https://reviews.llvm.org/D47221

llvm-svn: 337133
openmp/libomptarget/test/CMakeLists.txt