Files
Luigi PincaandGitHub f51b7f1f15 [major] Use the is_utf8 library (#109)
Use the is_utf8 [1] library to greatly improve performance.

[1]: https://github.com/simdutf/is_utf8
2023-01-03 21:15:36 +01:00

14 lines
344 B
CMake

include(${PROJECT_SOURCE_DIR}/cmake/import.cmake)
set_off(SIMDUTF_TOOLS)
set_off(SIMDUTF_BENCHMARKS)
import_dependency(simdutf simdutf/simdutf v2.0.9)
set(BUILD_TESTING OFF)
add_dependency(simdutf)
unset(BUILD_TESTING)
add_executable(bench bench.cpp)
target_link_libraries(bench PRIVATE is_utf8)
target_link_libraries(bench PRIVATE simdutf)