Fix test failures introduced by PR #113697 (#116941)
[llvm-project.git] / libc / src / fcntl / CMakeLists.txt
blob77400e9050d08b44fecfcd4960a3778d3d026f08
1 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
2   add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
3 endif()
5 add_entrypoint_object(
6   creat
7   ALIAS
8   DEPENDS
9     .${LIBC_TARGET_OS}.creat
12 add_entrypoint_object(
13   fcntl
14   ALIAS
15   DEPENDS
16     .${LIBC_TARGET_OS}.fcntl
19 add_entrypoint_object(
20   open
21   ALIAS
22   DEPENDS
23     .${LIBC_TARGET_OS}.open
26 add_entrypoint_object(
27   openat
28   ALIAS
29   DEPENDS
30     .${LIBC_TARGET_OS}.openat