google / benchmark

A microbenchmark support library
Apache License 2.0
8.59k stars 1.57k forks source link

[BUG] mismatch of macro name for cmake #1714

Closed iakovs closed 6 months ago

iakovs commented 6 months ago

Describe the bug

CMake Warning (dev) in submodules/benchmark/test/CMakeLists.txt:
  A logical block opening on the line

    /Users/yahont/work/repos/youbiquit/submodules/benchmark/test/CMakeLists.txt:67 (macro)

  closes on the line

    /Users/yahont/work/repos/youbiquit/submodules/benchmark/test/CMakeLists.txt:73 (endmacro)

  with mis-matching arguments.
This warning is for project developers.  Use -Wno-dev to suppress it.

System Which OS, compiler, and compiler version are you using:

To reproduce Steps to reproduce the behavior:

  1. mkdir build
  2. cd build
  3. cmake .. -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on

Expected behavior No warning

Screenshots

image

Additional context Add any other context about the problem here.