From 31fb44e65716e139f482954cd99b7e2b1a7f603c Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 26 Feb 2014 20:39:28 +0000 Subject: [PATCH] Don't mix the plain and keyword signatures of target_link_libraries. llvm-svn: 202299 --- tools/gold/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gold/CMakeLists.txt b/tools/gold/CMakeLists.txt index ceab0e1c02e..07a1e2849b9 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()