Another place for CMAKE_HOST_UNIX
authorSean Silva <chisophugis@gmail.com>
Wed, 6 Apr 2016 23:18:09 +0000 (23:18 +0000)
committerSean Silva <chisophugis@gmail.com>
Wed, 6 Apr 2016 23:18:09 +0000 (23:18 +0000)
commit9af25704d25c394c4e33828c666dcc656d49ef7c
treea1c983d7d751d6c32f70846b3e745c9c25414dd6
parent669a33f0cefbe7a627c6b49e8c153ce52ce28f3f
Another place for CMAKE_HOST_UNIX

If we don't create the target, don't try to add it as a dependency.

After r265595, we were only creating the SanitizerLintCheck when
`CMAKE_HOST_UNIX` was true.

CMake was emitting a warning:
  The dependency target "SanitizerLintCheck" of target "check-ubsan" does not
  exist.

llvm-svn: 265613
compiler-rt/test/CMakeLists.txt