Remove warnings in generated code for core protobufs.

develop
Ben Lubar 2018-04-05 16:46:04 -05:00
parent a37df92656
commit ec5d238e5e
No known key found for this signature in database
GPG Key ID: 018BAB45DB2D2B24
1 changed files with 4 additions and 0 deletions

@ -244,6 +244,10 @@ ADD_CUSTOM_COMMAND(
DEPENDS protoc-bin ${PROJECT_PROTOS} DEPENDS protoc-bin ${PROJECT_PROTOS}
) )
IF(UNIX)
SET_SOURCE_FILES_PROPERTIES(${PROJECT_PROTO_SRCS} PROPERTIES COMPILE_FLAGS "-Wno-misleading-indentation")
ENDIF()
ADD_CUSTOM_TARGET(generate_proto_core DEPENDS ${PROJECT_PROTO_TMP_FILES}) ADD_CUSTOM_TARGET(generate_proto_core DEPENDS ${PROJECT_PROTO_TMP_FILES})
# Merge headers into sources # Merge headers into sources