File highway.spec of Package failed_highway

```spec
Name:           highway
Version:        1.2.0
Release:        3.1
Summary:        SIMD library for high-performance computing
License:        Apache-2.0
Group:          Development/Libraries
URL:            https://github.com/google/highway
Source0:        %{name}-%{version}.tar.gz

BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig
BuildRequires:  gtest-devel

%description
Highway is a SIMD library for high-performance computing on various architectures.

%prep
%setup -q

%build
export CFLAGS="%optflags -DHWY_COMPILE_ALL_ATTAINABLE -DHWY_BROKEN_TARGETS=HWY_RVV"
export CXXFLAGS="%optflags -DHWY_COMPILE_ALL_ATTAINABLE -DHWY_BROKEN_TARGETS=HWY_RVV"

# Enable RISC-V Vector ISA extension
export CFLAGS="$CFLAGS -march=rv64gcv"
export CXXFLAGS="$CXXFLAGS -march=rv64gcv"

cmake . \
    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
    -DCMAKE_C_FLAGS="%optflags" \
    -DCMAKE_CXX_FLAGS="%optflags" \
    -DBUILD_SHARED_LIBS:BOOL=ON \
    -DBUILD_STATIC_LIBS:BOOL=OFF

make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot}

%files
%license LICENSE
%doc README.md
%{_libdir}/libhighway.so.*
%{_includedir}/hwy/
```

---

### Fixing the `detect_targets.h` File
The `detect_targets.h` file in the source code uses `HWY_BROKEN_TARGETS`. To ensure compatibility, we should define `HWY_RVV` explicitly in the code if it is not already defined.
openSUSE Build Service is sponsored by