Skip to content

Commit ad26df0

Browse files
aus-inteligcbot
authored andcommitted
Link debug info with required llvm libraries
1 parent 98cf8af commit ad26df0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

IGC/DebugInfo/CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,14 @@ set(DEBUG_INFO_LIBRARY_SOURCES
3535

3636
add_library(GenXDebugInfo STATIC ${DEBUG_INFO_LIBRARY_SOURCES})
3737
add_dependencies(GenXDebugInfo intrinsics_gen ${IGC_BUILD__PROJ__GenISAIntrinsics})
38+
39+
igc_get_llvm_targets(LLVM_LIBS
40+
BinaryFormat
41+
Core
42+
MC
43+
Support
44+
)
45+
46+
target_link_libraries(GenXDebugInfo
47+
${LLVM_LIBS}
48+
)

0 commit comments

Comments
 (0)