Skip to content

Commit

Permalink
fix: don't use DEPENDS with add_custom_command(TARGET) (#5074)
Browse files Browse the repository at this point in the history
  • Loading branch information
kou authored Feb 6, 2025
1 parent 7c02918 commit d5d9b32
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,6 @@ if (S2N_INTERN_LIBCRYPTO)
# add all of the prefixed symbols to the archive
add_custom_command(
TARGET ${PROJECT_NAME} POST_BUILD
DEPENDS libcrypto.symbols
COMMAND
bash -c "${CMAKE_AR} -r $<TARGET_FILE:${PROJECT_NAME}> s2n_libcrypto/*.o"
VERBATIM
Expand Down

0 comments on commit d5d9b32

Please sign in to comment.