[CMake] LLDB/Expression needs to depend on intrinsics_gen
authorChris Bieneman <beanz@apple.com>
Thu, 29 Sep 2016 22:55:09 +0000 (22:55 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 29 Sep 2016 22:55:09 +0000 (22:55 +0000)
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

lldb/source/Expression/CMakeLists.txt

index 48e67888e436d89765ddbb9d1eec77fc2309555e..660fccbf41c0d8dff15d95dd7dc8f99d8170da5a 100644 (file)
@@ -15,3 +15,7 @@ add_lldb_library(lldbExpression
   UserExpression.cpp
   UtilityFunction.cpp
   )
+
+if(NOT LLDB_BUILT_STANDALONE)
+  add_dependencies(lldbExpression intrinsics_gen)
+endif()