Revert "[libc] Use best-fit binary trie to make malloc logarithmic" (#117065)
[llvm-project.git] / libc / src / __support / OSUtil / CMakeLists.txt
blob94d1042ccbb4a0460d1b5e39f3ad84c17e33bce2
1 if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
2   return()
3 endif()
5 add_subdirectory(${LIBC_TARGET_OS})
6 set(target_os_util libc.src.__support.OSUtil.${LIBC_TARGET_OS}.${LIBC_TARGET_OS}_util)
7 if(NOT TARGET ${target_os_util})
8   return()
9 endif()
11 add_object_library(
12   osutil
13   ALIAS
14     ${target_os_util}
15   DEPENDS
16     ${target_os_util}