mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 12:10:34 +00:00
Fix for very old CMake
This commit is contained in:
parent
fd5698b39d
commit
e09a37ca61
@ -34,11 +34,9 @@ else()
|
||||
)
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
|
||||
if(CMAKE_BUILD_TYPE MATCHES "Release")
|
||||
set(MY_C_FLAGS -Wno-parentheses-equality)
|
||||
target_compile_options(core_libs_supl PUBLIC $<$<COMPILE_LANGUAGE:C>:${MY_C_FLAGS}>)
|
||||
endif()
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "Clang" AND (CMAKE_VERSION VERSION_GREATER "3.3"))
|
||||
set(MY_C_FLAGS -Wno-unused-parameter)
|
||||
target_compile_options(core_libs_supl PUBLIC $<$<COMPILE_LANGUAGE:C>:${MY_C_FLAGS}>)
|
||||
endif()
|
||||
|
||||
if(OPENSSL_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user