mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 12:40: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)
|
add_compile_options(-Wno-missing-field-initializers)
|
||||||
endif()
|
endif()
|
||||||
if(CMAKE_CROSSCOMPILING OR NOT ENABLE_PACKAGING)
|
if(CMAKE_CROSSCOMPILING OR NOT ENABLE_PACKAGING)
|
||||||
add_compile_options(-Wno-psabi)
|
if(NOT ENABLE_CUDA)
|
||||||
|
add_compile_options(-Wno-psabi)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
if(IS_ARM)
|
if(IS_ARM)
|
||||||
if((CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "7.1.0") AND (CMAKE_VERSION VERSION_GREATER "3.1"))
|
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