diff options
author | Davide Italiano <davide@freebsd.org> | 2016-09-12 20:44:53 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2016-09-12 20:44:53 +0000 |
commit | d68dc9a9c8f075bf7c4c8141f096920e141c139c (patch) | |
tree | 30f0d5487e12c5980cf229df1aa34e7eb80ee13c /lld/unittests | |
parent | af5f0c2901a51e842da14c857fcc6fa7f9483124 (diff) |
[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)
Diffstat (limited to 'lld/unittests')
-rw-r--r-- | lld/unittests/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/unittests/CMakeLists.txt b/lld/unittests/CMakeLists.txt index bb651b5cfe6..9cd085398c3 100644 --- a/lld/unittests/CMakeLists.txt +++ b/lld/unittests/CMakeLists.txt @@ -1,6 +1,8 @@ add_custom_target(LLDUnitTests) set_target_properties(LLDUnitTests PROPERTIES FOLDER "lld tests") +set(CMAKE_BUILD_WITH_INSTALL_RPATH OFF) + # add_lld_unittest(test_dirname file1.cpp file2.cpp) # # Will compile the list of files together and link against lld |