Skip to content

Commit de9887c

Browse files
adjust dependency
1 parent 7bf98be commit de9887c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

libc/hdr/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,18 @@ add_proxy_header_library(
135135
libc.include.llvm-libc-macros.unistd_macros
136136
)
137137

138+
if (WIN32)
139+
set(windows_addtional_time_macros libc.include.llvm-libc-macros.windows.time_macros_ext)
140+
else()
141+
set(windows_addtional_time_macros "")
142+
endif()
143+
138144
add_proxy_header_library(
139145
time_macros
140146
HDRS
141147
time_macros.h
148+
DEPENDS
149+
${windows_addtional_time_macros}
142150
FULL_BUILD_DEPENDS
143151
libc.include.time
144152
libc.include.llvm-libc-macros.time_macros

0 commit comments

Comments
 (0)