summaryrefslogtreecommitdiff
path: root/tools/gold
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gold')
-rw-r--r--tools/gold/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gold/CMakeLists.txt b/tools/gold/CMakeLists.txt
index ceab0e1c02..07a1e2849b 100644
--- a/tools/gold/CMakeLists.txt
+++ b/tools/gold/CMakeLists.txt
@@ -20,7 +20,7 @@ else()
gold-plugin.cpp
)
- target_link_libraries(LLVMgold LTO)
+ target_link_libraries(LLVMgold ${cmake_2_8_12_PRIVATE} LTO)
endif()