Skip to content

Commit

Permalink
Fixed generating of timestamp file for protobuf dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
23rd authored and john-preston committed Nov 23, 2022
1 parent 81705fb commit 7267c03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions external/cld3/generate_protobuf.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ function(generate_single_protobuf target_name gen_dst protobuf_name executable)
${gen_dst}/${protobuf_name_we}.pb.h
)

string(TIMESTAMP gen_timestamp_var "%s")
file(WRITE ${gen_timestamp} ${gen_timestamp_var})

# Fix warning MSB8065.
set_source_files_properties(${gen_timestamp} PROPERTIES SYMBOLIC 1)

Expand Down

0 comments on commit 7267c03

Please sign in to comment.