diff options
author | Jordan Rose <jordan_rose@apple.com> | 2015-09-10 17:18:51 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2015-09-10 17:18:51 +0000 |
commit | a72d30255633edff3a3c5f1e9175be87e15045a6 (patch) | |
tree | 27c45970397e8dafaca16e2c251989c04968cc64 /cmake/dummy.cpp | |
parent | 40b623b14725c10a50413fa3ce8ef9410f850c44 (diff) |
[CMake] Fix Xcode build with LLVM_ENABLE_OBJLIB.
This amends chapuni's r246156 to handle an Xcode quirk, one even called out
in the CMake documentation:
Some native build systems may not like targets that have only object files,
so consider adding at least one real source file to any target that
references $<TARGET_OBJECTS:objlib>.
I've limited the scope of this hack to Xcode for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247305 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/dummy.cpp')
-rw-r--r-- | cmake/dummy.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/dummy.cpp b/cmake/dummy.cpp new file mode 100644 index 00000000000..c4e7e953687 --- /dev/null +++ b/cmake/dummy.cpp @@ -0,0 +1 @@ +typedef int dummy; |