Skip to content

Commit

Permalink
Add IGCOptions to linking target
Browse files Browse the repository at this point in the history
Add IGCOptions to linking target. Otherwise, builds
can run into failures with undefined reference msg for
`getApiOptTable()` and `getInternalOptTable()` methods.
  • Loading branch information
matborzyszkowski authored and igcbot committed Jul 25, 2023
1 parent 69ea575 commit f5a4013
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions IGC/Compiler/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,6 @@ add_library("${IGC_BUILD__PROJ__Compiler}" STATIC
)
set_property(TARGET "${IGC_BUILD__PROJ__Compiler}" PROPERTY PROJECT_LABEL "${IGC_BUILD__PROJ_LABEL__Compiler}")

target_link_libraries("${IGC_BUILD__PROJ__Compiler}" IGCOptions)

add_dependencies("${IGC_BUILD__PROJ__Compiler}" "${IGC_BUILD__PROJ__GenISAIntrinsics}")

0 comments on commit f5a4013

Please sign in to comment.