mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Fix for CUDA compiler
This commit is contained in:
parent
42bbdb2a72
commit
2e74205cb1
@ -2992,7 +2992,9 @@ if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND NOT WIN32)
|
||||
add_compile_options(-Wno-missing-field-initializers)
|
||||
endif()
|
||||
if(CMAKE_CROSSCOMPILING OR NOT ENABLE_PACKAGING)
|
||||
add_compile_options(-Wno-psabi)
|
||||
if(NOT ENABLE_CUDA)
|
||||
add_compile_options(-Wno-psabi)
|
||||
endif()
|
||||
endif()
|
||||
if(IS_ARM)
|
||||
if((CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "7.1.0") AND (CMAKE_VERSION VERSION_GREATER "3.1"))
|
||||
|
Loading…
Reference in New Issue
Block a user