build(linux): fail build if capture dependencies not found (#3305)

This commit is contained in:
ReenigneArcher 2024-10-14 18:28:55 -04:00 committed by GitHub
commit 7352e7277a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 16 deletions

View file

@ -105,6 +105,8 @@ class @PROJECT_NAME@ < Formula
ohai "Linking against ICU libraries at: #{icu4c_lib_path}"
end
args << "-DCUDA_FAIL_ON_MISSING=OFF" if OS.linux?
system "cmake", "-S", ".", "-B", "build", *std_cmake_args, *args
cd "build" do