Skip to content

Commit

Permalink
build: move go find to be scoped above uses
Browse files Browse the repository at this point in the history
Signed-off-by: Noah Watkins <[email protected]>
(cherry picked from commit 2b73b5e)
  • Loading branch information
dotnwat authored and ivotron committed Jul 9, 2024
1 parent f986ad3 commit 15eddb5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ find_package(Boost REQUIRED
iostreams
unit_test_framework)
find_package(absl REQUIRED)
find_program(GO_PROGRAM go REQUIRED)
add_subdirectory(v)
add_subdirectory(go/kreq-gen)
2 changes: 0 additions & 2 deletions src/v/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ if(REDPANDA_RUN_CLANG_TIDY)
unset(clang_tidy_checks)
endif()

find_program(GO_PROGRAM go REQUIRED)

# libraries
add_subdirectory(test_utils)
add_subdirectory(ssx)
Expand Down

0 comments on commit 15eddb5

Please sign in to comment.