[Cmake] Use Cmake's default RPATH for unittest.
authorDavide Italiano <davide@freebsd.org>
Mon, 12 Sep 2016 20:44:53 +0000 (20:44 +0000)
committerDavide Italiano <davide@freebsd.org>
Mon, 12 Sep 2016 20:44:53 +0000 (20:44 +0000)
commit3582242aa38a2d4529009f47a568de35ebed1db4
tree7562f2343870d98d8bd62712b08312ed2b2dcb13
parent9a830b943374d122040268356b7dab9e8768806f
[Cmake] Use Cmake's default RPATH for unittest.

Similarly to what was done in r280791 for llvm/.
This should fix a bunch of failures I saw while
trying a BUILD_SHARED_LIBS build on MacOS.
Still there are some failures, but this is a step
forward.

Thanks a lot to Chris Bieneman for the suggested
fix (in PR30345)

llvm-svn: 281256
lld/unittests/CMakeLists.txt