Skip to content

Commit

Permalink
make verilated library target global
Browse files Browse the repository at this point in the history
  • Loading branch information
Risto97 committed Oct 15, 2024
1 parent a4d58c8 commit 6fe25e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/sim/verilator/verilator.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ function(verilator IP_LIB)

set(VERILATED_LIB ${IP_LIB}__vlt)
add_library(${VERILATED_LIB} STATIC IMPORTED)
set_target_properties(${VERILATED_LIB} PROPERTIES IMPORTED_GLOBAL TRUE)
add_dependencies(${VERILATED_LIB} ${VERILATE_TARGET})
set_target_properties(${VERILATED_LIB} PROPERTIES IMPORTED_LOCATION ${VLT_STATIC_LIB})

Expand Down

0 comments on commit 6fe25e0

Please sign in to comment.