aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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}/..)