[libomptarget] Fix detection of CUDA stubs library
authorJonas Hahnfeld <hahnjo@hahnjo.de>
Mon, 12 Feb 2018 11:01:56 +0000 (11:01 +0000)
committerJonas Hahnfeld <hahnjo@hahnjo.de>
Mon, 12 Feb 2018 11:01:56 +0000 (11:01 +0000)
commit3cfaf3dd0def9f87ebfcc530bfe0c26a444a27ac
tree2ff5bdaa628f76efbc9ef534c85c4d37b53ab4a3
parent5379c6d6fd121f822b6b191906fc1aa664726607
[libomptarget] Fix detection of CUDA stubs library

CUDA_LIBRARIES contains additional linker arguments since CMake 3.3
which breakes the current way of finding the stubs library.

llvm-svn: 324879
openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake