aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2014-03-05 16:47:19 -0800
committerDan Gohman <sunfish@mozilla.com>2014-03-05 16:48:49 -0800
commit0e2a08d6c55b8b020fb84a1277e2fccf7767c784 (patch)
tree4209a512fb60933d32f488c82d4223fac6bba7c6
parentbf36bf54a271a58f788a9b5baf35b9d912cf8f8d (diff)
Fix missing LLVMBuild.txt and CMake dependencies.
-rw-r--r--lib/Target/JSBackend/CMakeLists.txt2
-rw-r--r--lib/Target/JSBackend/LLVMBuild.txt2
-rw-r--r--lib/Target/JSBackend/MCTargetDesc/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/JSBackend/CMakeLists.txt b/lib/Target/JSBackend/CMakeLists.txt
index 521210e94d..24622e1c3f 100644
--- a/lib/Target/JSBackend/CMakeLists.txt
+++ b/lib/Target/JSBackend/CMakeLists.txt
@@ -7,5 +7,7 @@ add_llvm_target(JSBackendCodeGen
SimplifyAllocas.cpp
)
+add_dependencies(LLVMJSBackendCodeGen intrinsics_gen)
+
add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc)
diff --git a/lib/Target/JSBackend/LLVMBuild.txt b/lib/Target/JSBackend/LLVMBuild.txt
index a432481007..6601b0306a 100644
--- a/lib/Target/JSBackend/LLVMBuild.txt
+++ b/lib/Target/JSBackend/LLVMBuild.txt
@@ -27,5 +27,5 @@ parent = Target
type = Library
name = JSBackendCodeGen
parent = JSBackend
-required_libraries = Core JSBackendInfo Support Target
+required_libraries = Core JSBackendInfo JSBackendDesc Support Target
add_to_library_groups = JSBackend
diff --git a/lib/Target/JSBackend/MCTargetDesc/CMakeLists.txt b/lib/Target/JSBackend/MCTargetDesc/CMakeLists.txt
index 6e9fbdfa0c..81c5eadef6 100644
--- a/lib/Target/JSBackend/MCTargetDesc/CMakeLists.txt
+++ b/lib/Target/JSBackend/MCTargetDesc/CMakeLists.txt
@@ -2,7 +2,5 @@ add_llvm_library(LLVMJSBackendDesc
JSBackendMCTargetDesc.cpp
)
-add_dependencies(LLVMJSBackendDesc intrinsics_gen)
-
# Hack: we need to include 'main' target directory to grab private headers
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)