Skip to content

Commit

Permalink
Fixed thrift generator (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
dutor authored Jul 22, 2019
1 parent 920f3d4 commit 73c4df0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmake/ThriftGenerate.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ set("${file_name}-cpp2-HEADERS"
${output_path}/gen-cpp2/${file_name}_constants.h
${output_path}/gen-cpp2/${file_name}_data.h
${output_path}/gen-cpp2/${file_name}_types.h
${output_path}/gen-cpp2/${file_name}_types_custom_protocol.h
${output_path}/gen-cpp2/${file_name}_types.tcc
)

Expand All @@ -65,8 +66,6 @@ foreach(service ${services})
${output_path}/gen-cpp2/${service}.tcc
${output_path}/gen-cpp2/${service}AsyncClient.h
${output_path}/gen-cpp2/${service}_custom_protocol.h
${output_path}/gen-cpp2/${service}_processmap_binary.h
${output_path}/gen-cpp2/${service}_processmap_compact.h
)
set("${file_name}-cpp2-SOURCES"
${${file_name}-cpp2-SOURCES}
Expand All @@ -90,7 +89,7 @@ add_custom_command(
COMMENT "Generating ${file_name} files. Output: ${output_path}"
)

bypass_source_check(${file_name}_cpp2-SOURCES})
bypass_source_check(${file_name}_cpp2-SOURCES)
add_library(
"${file_name}_thrift_obj"
OBJECT
Expand Down

0 comments on commit 73c4df0

Please sign in to comment.