Fixed generating of timestamp file for protobuf dependencies.
This commit is contained in:
parent
81705fb609
commit
7267c03054
1 changed files with 3 additions and 0 deletions
3
external/cld3/generate_protobuf.cmake
vendored
3
external/cld3/generate_protobuf.cmake
vendored
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue