Skip to content
Snippets Groups Projects
Commit 8b41b6a1 authored by jmakai's avatar jmakai
Browse files

Compile messages as place independent code for EOS

parent 57a22a44
Branches
Tags
No related merge requests found
......@@ -20,7 +20,7 @@ find_package(Protobuf3 REQUIRED)
file(GLOB ProtoFiles "${CMAKE_CURRENT_SOURCE_DIR}/*.proto")
PROTOBUF3_GENERATE_CPP(ProtoSources ProtoHeaders ${ProtoFiles})
foreach(PROTO_SRC ${ProtoSources})
set_property(SOURCE ${PROTO_SRC} PROPERTY COMPILE_FLAGS " -Wno-missing-field-initializers")
set_property(SOURCE ${PROTO_SRC} PROPERTY COMPILE_FLAGS " -Wno-missing-field-initializers -fPIC")
endforeach(PROTO_SRC)
set (CTA_FRONT_END_MESSAGES_SRC_FILES ${ProtoSources})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment