1
0
Fork 0

Fixed generating of timestamp file for protobuf dependencies.

This commit is contained in:
23rd 2022-11-22 11:49:19 +03:00 committed by John Preston
parent 81705fb609
commit 7267c03054

View file

@ -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)