diff options
author | Michael Hanselmann <public@hansmi.ch> | 2014-09-17 04:11:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-09-18 13:16:27 (GMT) |
commit | e380d7c5baca9de5fcb5826e2d9386a6dd57e48c (patch) | |
tree | 06ee89a3eae882ecaec8b8802597dd45d1c4f222 /Tests/Module/WriteCompilerDetectionHeader/multi_files.cpp | |
parent | 201cc6fe095f1a0abfc34bb6482d933cc12ff055 (diff) | |
download | CMake-e380d7c5baca9de5fcb5826e2d9386a6dd57e48c.zip CMake-e380d7c5baca9de5fcb5826e2d9386a6dd57e48c.tar.gz CMake-e380d7c5baca9de5fcb5826e2d9386a6dd57e48c.tar.bz2 |
FindProtobuf: Make outputs depend on protoc executable
After updating from Protocol Buffers 2.5.0 to 2.6.0 compilation of the
generated source failed: "This file was generated by an older version of
protoc which is incompatible with your Protocol Buffer headers. Please
regenerate this file with a newer version of protoc.".
Turns out the source and headers generated by way of
FindProtobuf.cmake:PROTOBUF_GENERATE_CPP aren't updated. Adding a
dependency on the compiler executable fixes this issue.
Diffstat (limited to 'Tests/Module/WriteCompilerDetectionHeader/multi_files.cpp')
0 files changed, 0 insertions, 0 deletions