mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-07 16:00:35 +00:00
Fix for CUDA compiler
This commit is contained in:
parent
2e74205cb1
commit
511f24693b
@ -3028,10 +3028,12 @@ if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND NOT WIN32)
|
|||||||
add_compile_options(-mtune=native)
|
add_compile_options(-mtune=native)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
if(NOT ENABLE_CUDA)
|
||||||
add_compile_options(-march=native)
|
add_compile_options(-march=native)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
if(NOT ENABLE_GENERIC_ARCH)
|
if(NOT ENABLE_GENERIC_ARCH)
|
||||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||||
|
Loading…
Reference in New Issue
Block a user