Refactoring CMake configs, adding Catch2 benchmark support
This commit is contained in:
@@ -5,3 +5,7 @@ FetchContent_Declare(
|
||||
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
|
||||
GIT_TAG v2.13.7)
|
||||
FetchContent_MakeAvailable(Catch2)
|
||||
|
||||
if (DAGGY_ENABLE_BENCHMARKS)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DCATCH_CONFIG_ENABLE_BENCHMARKING")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user