diff options
Diffstat (limited to 'libcmix-protobuf/CMakeLists.txt')
| -rw-r--r-- | libcmix-protobuf/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libcmix-protobuf/CMakeLists.txt b/libcmix-protobuf/CMakeLists.txt index 29dbb32..725cbf3 100644 --- a/libcmix-protobuf/CMakeLists.txt +++ b/libcmix-protobuf/CMakeLists.txt @@ -16,4 +16,12 @@ target_include_directories(cmix-protobuf PUBLIC ${CMAKE_CURRENT_BINARY_DIR} ) +target_compile_definitions(cmix-protobuf + PUBLIC PROTOBUF_INLINE_NOT_IN_HEADERS=0 +) + +target_compile_options(cmix-protobuf + PRIVATE -Wno-unused-parameter +) + target_link_libraries(cmix-protobuf ${Protobuf_LIBRARIES})
\ No newline at end of file |
