diff options
author | Dimitry Andric <dimitry@andric.com> | 2021-11-23 20:47:38 +0100 |
---|---|---|
committer | Dimitry Andric <dimitry@andric.com> | 2021-11-23 21:59:49 +0100 |
commit | b5a927b972b2c07b4597e93ed0b57803bfc0e6ae (patch) | |
tree | 50170361e726537b49b3e1aaf07f35d79e1376f8 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | b80affb8a1494560c83c6d2bf1164ff8fe031401 (diff) | |
download | llvm-b5a927b972b2c07b4597e93ed0b57803bfc0e6ae.zip llvm-b5a927b972b2c07b4597e93ed0b57803bfc0e6ae.tar.gz llvm-b5a927b972b2c07b4597e93ed0b57803bfc0e6ae.tar.bz2 |
[lldb] Move create_relative_symlink function up in CMake hierarchy
Configuring lldb with `LLDB_ENABLE_PYTHON=OFF` and `LLDB_ENABLE_LUA=ON` results in a CMake error:
CMake Error at lldb/bindings/lua/CMakeLists.txt:47 (create_relative_symlink):
Unknown CMake command "create_relative_symlink".
Call Stack (most recent call first):
lldb/CMakeLists.txt:117 (finish_swig_lua)
This is because the CMake function `create_relative_symlink` only exists in `lldb/bindings/python/CMakeLists.txt`, and not in `lldb/bindings/lua/CMakeLists.txt`.
Move the function to `lldb/bindings/CMakeLists.txt`, so it is available for all language bindings.
Reviewed By: labath
Differential Revision: https://reviews.llvm.org/D114465
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions