From 5156405e890c879d58471341bc65f9e9b5b0a02c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Fr=C3=A5nberg?= Date: Tue, 19 Apr 2022 15:21:06 +0200 Subject: [PATCH] Supress warnings for cmockery --- libs/cmockery/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/cmockery/CMakeLists.txt b/libs/cmockery/CMakeLists.txt index f902e61..9a3ff4e 100644 --- a/libs/cmockery/CMakeLists.txt +++ b/libs/cmockery/CMakeLists.txt @@ -2,5 +2,6 @@ include_directories( "src/google/" ) add_library( libcmockery "src/cmockery.c" ) +target_compile_options( libcmockery PUBLIC -w ) target_link_libraries( libcmockery ) SET_TARGET_PROPERTIES( libcmockery PROPERTIES OUTPUT_NAME cmockery )