diff options
| author | Sebastian Neubauer <sebastian.neubauer@amd.com> | 2020-01-24 12:17:08 +0100 |
|---|---|---|
| committer | Sebastian Neubauer <sebastian.neubauer@amd.com> | 2020-02-21 10:19:11 +0100 |
| commit | e5eeb8465f29bf4e9cf6f1edb88573338fc12725 (patch) | |
| tree | 149a6c35c23deb649d76269726fe4d359124b92b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | bc498198b5559829d8f7138db01b0f51afefe2a7 (diff) | |
Make unittests include path relative
This change is relevant when embedding the llvm cmake project into
another project. It should not change the build behavior of a normal
llvm build.
In the case where llvm is embedded as a cmake subproject,
CMAKE_SOURCE_DIR does not point to the expected directory and building
the tests fails.
Using CMAKE_CURRENT_SOURCE_DIR fixes this problem, as it will always
point to the same directory.
Differential Revision: https://reviews.llvm.org/D73466
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
