Skip to content

Commit

Permalink
Only suppress on GCC/Clang
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Mar 27, 2024
1 parent 25c493b commit a57ce65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions profiler/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ if(GZ_PROFILER_REMOTERY)

# A few warnings to suppress, rather than modifying vendored code
set_source_files_properties(./Remotery/lib/Remotery.c PROPERTIES
COMPILE_FLAGS "-Wno-strict-prototypes -Wno-unused-but-set-variable")

COMPILE_FLAGS
"$<$<COMPILE_LANG_AND_ID:CXX,ARMClang,AppleClang,Clang,GNU,LCC>:-Wno-strict-prototypes -Wno-unused-but-set-variable>")

if(APPLE)
set(
Expand Down

0 comments on commit a57ce65

Please sign in to comment.