Skip to content

Commit

Permalink
Add genLogging dependency to bf_gtest_support.
Browse files Browse the repository at this point in the history
Signed-off-by: fruffy <[email protected]>
  • Loading branch information
fruffy committed Feb 7, 2025
1 parent 1fb2036 commit 2492940
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backends/tofino/bf-p4c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,8 @@ if (ENABLE_GTESTS)
# This is necessary because the z3 target itself does not export its includes.
SYSTEM BEFORE PUBLIC ${Z3_INCLUDE_DIR}
)
add_dependencies (bf_gtest_support p4headers_h p4headers_cpp ir-generated gtest frontend-parser-gen) # Indirectly we #include "ir/gen-tree-macro.h" and "p4parser.hpp"
# Indirectly we #include "ir/gen-tree-macro.h" and "p4parser.hpp"
add_dependencies (bf_gtest_support p4headers_h p4headers_cpp ir-generated gtest frontend-parser-gen genLogging)

set (GTEST_BF_P4C_SOURCES
# Currently all gtests need to be built directly into the gtestp4c binary.
Expand Down

0 comments on commit 2492940

Please sign in to comment.