diff --git a/export/planloader/CMakeLists.txt b/export/planloader/CMakeLists.txt index 70a9b2bc..2294572c 100644 --- a/export/planloader/CMakeLists.txt +++ b/export/planloader/CMakeLists.txt @@ -3,7 +3,7 @@ if(CMAKE_BUILD_TYPE MATCHES Debug) message( WARNING - "The planloader library does not work well in Debug mode due to bundled heap checking." + "The planloader library does not work well in Debug mode due to bundled heap checking." ) endif() diff --git a/src/substrait/proto/CMakeLists.txt b/src/substrait/proto/CMakeLists.txt index 6b51d9cf..d0f8bd92 100644 --- a/src/substrait/proto/CMakeLists.txt +++ b/src/substrait/proto/CMakeLists.txt @@ -65,9 +65,10 @@ foreach(PROTO_FILE IN LISTS PROTOBUF_FILELIST) set(PROTO_SRC ${PROTO_OUTPUT_PARENT_DIR}/proto/${RELATIVE_PROTO_PATH}.pb.cc) add_custom_command( OUTPUT ${PROTO_SRC} ${PROTO_HDR} - COMMAND protobuf::protoc - "--proto_path=${GENERATED_PROTO_TOPLEVEL_DIR}:${protobuf_SOURCE_DIR}/src" - "--cpp_out=${PROTO_OUTPUT_MIDLEVEL_DIR}" ${GENERATED_PROTO_FILE} + COMMAND + protobuf::protoc + "--proto_path=${GENERATED_PROTO_TOPLEVEL_DIR}:${protobuf_SOURCE_DIR}/src" + "--cpp_out=${PROTO_OUTPUT_MIDLEVEL_DIR}" ${GENERATED_PROTO_FILE} DEPENDS ${GENERATED_PROTOBUF_LIST} protobuf::protoc COMMENT "Generated C++ protobuf module for ${PROTO_FILE}" VERBATIM)