You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2016/07/11 23:54:51 UTC
mesos git commit: CMake: Fixed dependency on .proto sources to
generate protobufs.
Repository: mesos
Updated Branches:
refs/heads/master 88be05091 -> c84880a1d
CMake: Fixed dependency on .proto sources to generate protobufs.
Prior to this, the CMake build only generated protobufs when the
"include" or "src" directories were not present. In order to
re-generate protobufs, you needed to delete these directories.
Review: https://reviews.apache.org/r/49928/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/c84880a1
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/c84880a1
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/c84880a1
Branch: refs/heads/master
Commit: c84880a1d40eae09c3bc643f185c1ccbdd7a167d
Parents: 88be050
Author: Srinivas Brahmaroutu <sr...@us.ibm.com>
Authored: Mon Jul 11 16:45:34 2016 -0700
Committer: Joseph Wu <jo...@apache.org>
Committed: Mon Jul 11 16:51:51 2016 -0700
----------------------------------------------------------------------
src/cmake/MesosProtobuf.cmake | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/c84880a1/src/cmake/MesosProtobuf.cmake
----------------------------------------------------------------------
diff --git a/src/cmake/MesosProtobuf.cmake b/src/cmake/MesosProtobuf.cmake
index 273d74d..e30ad84 100644
--- a/src/cmake/MesosProtobuf.cmake
+++ b/src/cmake/MesosProtobuf.cmake
@@ -64,7 +64,7 @@ function(PROTOC_TO_INCLUDE_DIR BASE_NAME BASE_DIR_STRUCTURE)
ADD_CUSTOM_COMMAND(
OUTPUT ${CC} ${H}
COMMAND ${PROTOC} ${TO_INCLUDE_DIR} ${PROTO}
- DEPENDS make_bin_include_dir
+ DEPENDS make_bin_include_dir ${PROTO}
WORKING_DIRECTORY ${MESOS_BIN})
endfunction()
@@ -97,6 +97,6 @@ function(PROTOC_TO_SRC_DIR BASE_NAME BASE_DIR_STRUCTURE)
ADD_CUSTOM_COMMAND(
OUTPUT ${CC} ${H}
COMMAND ${PROTOC} ${TO_SRC_DIR} ${PROTO}
- DEPENDS make_bin_src_dir
+ DEPENDS make_bin_src_dir ${PROTO}
WORKING_DIRECTORY ${MESOS_BIN})
endfunction()