diff --git a/plugin/python/CMakeLists.txt b/plugin/python/CMakeLists.txt index 5bc15fb8b5f0b34888673a94d0c0cebf8f25c6ae..c851b4fd30bbe270893be20fd109e2a319895bd0 100644 --- a/plugin/python/CMakeLists.txt +++ b/plugin/python/CMakeLists.txt @@ -7,7 +7,9 @@ if (PROTOBUF_FOUND) COMMENT "Running Python protocol buffer compiler on protocol.proto" DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/../../include/transport/protocol.proto ) - ADD_CUSTOM_TARGET(pb-python DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/protocol_pb2.py) + ADD_CUSTOM_TARGET(pb-python ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/protocol_pb2.py) endif() + +