diff options
author | Pavel Labath <labath@google.com> | 2016-06-02 16:29:07 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-06-02 16:29:07 +0000 |
commit | ec1c01e8d46e6a190d4c6cc2423b76d890a89539 (patch) | |
tree | 447287a3a5483b22f97d54fbc906ac4596253020 /llvm/tools/llvm-readobj/llvm-readobj.cpp | |
parent | aecd6c807924aa4677d1757497f1aae39726c9f1 (diff) | |
download | llvm-ec1c01e8d46e6a190d4c6cc2423b76d890a89539.zip llvm-ec1c01e8d46e6a190d4c6cc2423b76d890a89539.tar.gz llvm-ec1c01e8d46e6a190d4c6cc2423b76d890a89539.tar.bz2 |
[cmake] Fix builds with LLVM_ENABLE_PIC=0
Summary:
When this flag is specified, the target llvm-lto is not built, but is still
used as a dependency of the test targets. cmake 2.8 silently ignored this
situation, but with cmake_minimum_required(3.4) it becomes an error. Fix this
by avoiding the inclusion of the target as a dependency.
Reviewers: beanz
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D20882
llvm-svn: 271530
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions