diff --git a/benchmarks/CMakeLists.txt b/old_cmake/benchmark.txt similarity index 92% rename from benchmarks/CMakeLists.txt rename to old_cmake/benchmark.txt index 2a4e0342..350482ab 100644 --- a/benchmarks/CMakeLists.txt +++ b/old_cmake/benchmark.txt @@ -1,5 +1,18 @@ project(sfizz) +include(FetchContent) +FetchContent_Declare( + benchmark + GIT_REPOSITORY https://github.com/google/benchmark.git + GIT_TAG v1.5.0 +) + +FetchContent_GetProperties(benchmark) +if(NOT benchmark_POPULATED) + FetchContent_Populate(benchmark) + add_subdirectory(${benchmark_SOURCE_DIR} ${benchmark_BINARY_DIR}) +endif() + # Check SIMD include(CheckIncludeFiles) CHECK_INCLUDE_FILES(x86intrin.h HAVE_X86INTRIN_H) diff --git a/clients/CMakeLists.txt b/old_cmake/client.txt similarity index 100% rename from clients/CMakeLists.txt rename to old_cmake/client.txt diff --git a/lv2/CMakeLists.txt b/old_cmake/lv2.txt similarity index 100% rename from lv2/CMakeLists.txt rename to old_cmake/lv2.txt diff --git a/CMakeLists.txt b/old_cmake/root.txt similarity index 100% rename from CMakeLists.txt rename to old_cmake/root.txt diff --git a/src/CMakeLists.txt b/old_cmake/sfizz_source.txt similarity index 100% rename from src/CMakeLists.txt rename to old_cmake/sfizz_source.txt diff --git a/tests/CMakeLists.txt b/old_cmake/tests.txt similarity index 100% rename from tests/CMakeLists.txt rename to old_cmake/tests.txt