Skip to content

Commit

Permalink
Build tools only when building Broker standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
Neverlord committed Jun 21, 2024
1 parent 09d6167 commit 0a98379
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,11 @@ endif ()

# -- Tools and benchmarks -----------------------------------------------------

add_subdirectory(broker-node)
add_subdirectory(broker-pipe)
add_subdirectory(broker-throughput)
if (NOT broker_is_subproject)
add_subdirectory(broker-node)
add_subdirectory(broker-pipe)
add_subdirectory(broker-throughput)
endif ()

# -- Bindings -----------------------------------------------------------------

Expand Down

0 comments on commit 0a98379

Please sign in to comment.