Merging r284444:

------------------------------------------------------------------------
r284444 | beanz | 2016-10-17 17:50:39 -0700 (Mon, 17 Oct 2016) | 4 lines

[CMake] Add missing dependency on intrinsics_gen

COFF/InputFiles.h includes LTOModule.h which transitively relies on Attributes.inc.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/lld/branches/release_39@288078 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/COFF/CMakeLists.txt b/COFF/CMakeLists.txt
index 3319f39..ad5b6fd 100644
--- a/COFF/CMakeLists.txt
+++ b/COFF/CMakeLists.txt
@@ -33,4 +33,4 @@
   LINK_LIBS ${PTHREAD_LIB}
   )
 
-add_dependencies(lldCOFF COFFOptionsTableGen)
+add_dependencies(lldCOFF COFFOptionsTableGen intrinsics_gen)