Move the old cmakefiles to create the new ones
This commit is contained in:
parent
ea00d59f5a
commit
34fd01a2ea
6 changed files with 13 additions and 0 deletions
|
|
@ -1,5 +1,18 @@
|
||||||
project(sfizz)
|
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
|
# Check SIMD
|
||||||
include(CheckIncludeFiles)
|
include(CheckIncludeFiles)
|
||||||
CHECK_INCLUDE_FILES(x86intrin.h HAVE_X86INTRIN_H)
|
CHECK_INCLUDE_FILES(x86intrin.h HAVE_X86INTRIN_H)
|
||||||
Loading…
Add table
Reference in a new issue