[CMake] Move intrinsics_gen to lib/Target out of add_public_tablegen_target.
[oota-llvm.git] / cmake / modules / TableGen.cmake
index fdb47511dcca9683864c3a83054cfc1ef9e0ac1a..36404811d7d3c647c45ee3ffc9e3befeef006583 100644 (file)
@@ -65,7 +65,7 @@ macro(add_public_tablegen_target target)
       add_dependencies(${target} ${LLVM_COMMON_DEPENDS})
     endif ()
     set_target_properties(${target} PROPERTIES FOLDER "Tablegenning")
-    list(APPEND LLVM_COMMON_DEPENDS ${target} intrinsics_gen)
+    list(APPEND LLVM_COMMON_DEPENDS ${target})
   endif( TABLEGEN_OUTPUT )
 endmacro()