diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-12-12 11:29:03 +0100 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-12-15 09:45:30 +0100 |
| commit | 7568c9073143edfb3bc6c0bf4263be704cb96cb5 (patch) | |
| tree | b6c24648caaa813920c28d4b483fc320bf1567ed /libcmix-protobuf | |
| parent | 8eef4dde28da8db00f32d4a7acd95ddbb728d138 (diff) | |
| download | cmix-7568c9073143edfb3bc6c0bf4263be704cb96cb5.tar.gz cmix-7568c9073143edfb3bc6c0bf4263be704cb96cb5.tar.bz2 cmix-7568c9073143edfb3bc6c0bf4263be704cb96cb5.zip | |
Introduces and fixes warnings in the C libraries.
Diffstat (limited to 'libcmix-protobuf')
| -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 |
