summaryrefslogtreecommitdiff
path: root/tools/lli/ChildTarget/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lli/ChildTarget/CMakeLists.txt')
-rw-r--r--tools/lli/ChildTarget/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lli/ChildTarget/CMakeLists.txt b/tools/lli/ChildTarget/CMakeLists.txt
index 6191fd6016..50f114d956 100644
--- a/tools/lli/ChildTarget/CMakeLists.txt
+++ b/tools/lli/ChildTarget/CMakeLists.txt
@@ -1,4 +1,5 @@
set(LLVM_LINK_COMPONENTS support)
+add_definitions(-DLLI_BUILDING_CHILD)
add_llvm_executable(lli-child-target
ChildTarget.cpp