[clang] Avoid linking libdl unless needed
[llvm-project.git] / libc / src / string / memory_utils / CMakeLists.txt
blob9aeeb2fc987c9ace7eb64b3fe9fdce5178a6ad4c
1 add_gen_header(
2   cacheline_size
3   DEF_FILE
4     cacheline_size.h.def
5   GEN_HDR
6     cacheline_size.h
7   PARAMS
8     machine_cacheline_size=cacheline_size_${LIBC_TARGET_MACHINE}.h.inc
9   DATA_FILES
10     cacheline_size_${LIBC_TARGET_MACHINE}.h.inc
13 add_header_library(
14   memory_utils
15   HDRS
16     utils.h
17     memcpy_utils.h
18     memset_utils.h
19   DEPENDS
20     .cacheline_size