gollvm: update cmake rules for recent embed.cc addition
Include the newly added "embed.cc" in the list of gofrontend source
files when building the compiler.
Updates golang/go#43772
Change-Id: Ie685a5e55fcfbb9df40aa30815f8c8c07d2cae24
Reviewed-on: https://go-review.googlesource.com/c/gollvm/+/284581
Trust: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
diff --git a/bridge/CMakeLists.txt b/bridge/CMakeLists.txt
index 4db88f0..29b71c1 100644
--- a/bridge/CMakeLists.txt
+++ b/bridge/CMakeLists.txt
@@ -14,6 +14,7 @@
add_llvm_library(LLVMCppGoFrontEnd
${GOFRONTEND_SOURCE_DIR}/ast-dump.cc
+ ${GOFRONTEND_SOURCE_DIR}/embed.cc
${GOFRONTEND_SOURCE_DIR}/escape.cc
${GOFRONTEND_SOURCE_DIR}/export.cc
${GOFRONTEND_SOURCE_DIR}/expressions.cc