mirror of
https://github.com/boostorg/histogram.git
synced 2025-05-09 23:04:07 +00:00
tests: explicit extensions required in modern CMake (#330)
This commit is contained in:
parent
4a10c2c11b
commit
b11de06c43
@ -17,7 +17,7 @@ function(add_benchmark NAME)
|
||||
message(AUTHOR_WARNING "add_benchmark: extra arguments ignored: ${__UNPARSED_ARGUMENTS}")
|
||||
endif()
|
||||
|
||||
set(SOURCE ${NAME})
|
||||
set(SOURCE ${NAME}.cpp)
|
||||
set(NAME benchmark_${NAME})
|
||||
|
||||
if(DEFINED BUILD_TESTING AND NOT BUILD_TESTING)
|
||||
|
Loading…
x
Reference in New Issue
Block a user