summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-09-29 22:55:09 +0000
committerChris Bieneman <beanz@apple.com>2016-09-29 22:55:09 +0000
commite3e6474824ed29570a0beb0bf79e8f7173a208c9 (patch)
tree5c3da823a0aa4252ca580006d02d65662dadeedf
parent541f48d0fc9cad5e8e82ca4c4e708bfa94634135 (diff)
downloadbcm5719-llvm-e3e6474824ed29570a0beb0bf79e8f7173a208c9.tar.gz
bcm5719-llvm-e3e6474824ed29570a0beb0bf79e8f7173a208c9.zip
[CMake] LLDB/Expression needs to depend on intrinsics_gen
IRExecutionUnit.h includes Module.h, which through a long chain of includes eventually includes Attributes.gen. This fixes a build issue reported to lldb-dev by Hal. Thanks Hal! llvm-svn: 282803
-rw-r--r--lldb/source/Expression/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Expression/CMakeLists.txt b/lldb/source/Expression/CMakeLists.txt
index 48e67888e43..660fccbf41c 100644
--- a/lldb/source/Expression/CMakeLists.txt
+++ b/lldb/source/Expression/CMakeLists.txt
@@ -15,3 +15,7 @@ add_lldb_library(lldbExpression
UserExpression.cpp
UtilityFunction.cpp
)
+
+if(NOT LLDB_BUILT_STANDALONE)
+ add_dependencies(lldbExpression intrinsics_gen)
+endif()
OpenPOWER on IntegriCloud