Skip to content

Commit 6aed161

Browse files
authored
[libc][NFC] Remove incorrect file level dependency in CMake (#132937)
Summary: CMake doesn't support this type of dependency so it keeps emitting a warning. Just remove it, because it's not doing anything currently anyway. If we really wanted this to work you'd need to add a custom target that has a dependency on the output of a custom command, but that would only be worhwhile if we ever expected this file to change.
1 parent a6de034 commit 6aed161

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libc/test/src/__support/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,6 @@ if(NOT LIBC_TARGET_OS_IS_GPU)
272272
add_custom_command(TARGET libc_str_to_float_comparison_test
273273
POST_BUILD
274274
COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:libc_str_to_float_comparison_test> ${float_test_file}
275-
DEPENDS ${float_test_file}
276275
COMMENT "Test the strtof and strtod implementations against precomputed results."
277276
VERBATIM)
278277
endif()

0 commit comments

Comments
 (0)