mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-18 21:23:02 +00:00
Apply flag also to GCC
This commit is contained in:
parent
52076fa37a
commit
e96fbb348e
@ -34,7 +34,7 @@ else()
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_C_COMPILER_ID MATCHES "Clang" AND (CMAKE_VERSION VERSION_GREATER "3.3"))
|
if(CMAKE_C_COMPILER_ID MATCHES "Clang|GNU" AND (CMAKE_VERSION VERSION_GREATER "3.3"))
|
||||||
set(MY_C_FLAGS -Wno-unused-parameter)
|
set(MY_C_FLAGS -Wno-unused-parameter)
|
||||||
target_compile_options(core_libs_supl PUBLIC $<$<COMPILE_LANGUAGE:C>:${MY_C_FLAGS}>)
|
target_compile_options(core_libs_supl PUBLIC $<$<COMPILE_LANGUAGE:C>:${MY_C_FLAGS}>)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user