• Michael Hanselmann's avatar
    FindProtobuf: Make outputs depend on protoc executable · e380d7c5
    Michael Hanselmann authored
    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.
    e380d7c5
Name
Last commit
Last update
Auxiliary Loading commit data...
Help Loading commit data...
Licenses Loading commit data...
Modules Loading commit data...
Source Loading commit data...
Templates Loading commit data...
Tests Loading commit data...
Utilities Loading commit data...
.gitattributes Loading commit data...
.hooks-config.bash Loading commit data...
CMakeCPack.cmake Loading commit data...
CMakeCPackOptions.cmake.in Loading commit data...
CMakeGraphVizOptions.cmake Loading commit data...
CMakeLists.txt Loading commit data...
CMakeLogo.gif Loading commit data...
CONTRIBUTING.rst Loading commit data...
CTestConfig.cmake Loading commit data...
CTestCustom.cmake.in Loading commit data...
CompileFlags.cmake Loading commit data...
Copyright.txt Loading commit data...
DartConfig.cmake Loading commit data...
DartLocal.conf.in Loading commit data...
README.rst Loading commit data...
bootstrap Loading commit data...
cmake_uninstall.cmake.in Loading commit data...
configure Loading commit data...
doxygen.config Loading commit data...