aboutsummaryrefslogtreecommitdiff
path: root/libcmix-protobuf
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix-protobuf')
-rw-r--r--libcmix-protobuf/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcmix-protobuf/CMakeLists.txt b/libcmix-protobuf/CMakeLists.txt
index c080220..27eff16 100644
--- a/libcmix-protobuf/CMakeLists.txt
+++ b/libcmix-protobuf/CMakeLists.txt
@@ -11,8 +11,13 @@ add_library(cmix-protobuf
${proto_headers} ${proto_sources}
)
+set_target_properties(cmix-protobuf PROPERTIES COMPILE_FLAGS -w)
+
target_include_directories(cmix-protobuf
PUBLIC ${Protobuf_INCLUDE_DIRS}
+)
+
+target_include_directories(cmix-protobuf SYSTEM
PUBLIC ${CMAKE_CURRENT_BINARY_DIR}
)