Fixing build break: should be in the if statement, not outside.
[oota-llvm.git] / tools / gold / CMakeLists.txt
index 98e26421e01470177c7137d916d76f74f27746b3..887d896cd7747e79fbb7c193b98587735af508c7 100644 (file)
@@ -19,6 +19,8 @@ else()
   add_llvm_loadable_module(LLVMgold
     gold-plugin.cpp
     )
-endif()
 
 target_link_libraries(LLVMgold LTO)
+
+endif()
+