Commit 9488ed46 authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

fixed compiler warning

removed -fvisibility-inlines-hidden compiler option for CUDA sources
parent 3eeaa918
...@@ -160,6 +160,10 @@ if(CUDA_FOUND) ...@@ -160,6 +160,10 @@ if(CUDA_FOUND)
# we remove -Wsign-promo as it generates warnings under linux # we remove -Wsign-promo as it generates warnings under linux
string(REPLACE "-Wsign-promo" "" ${var} "${${var}}") string(REPLACE "-Wsign-promo" "" ${var} "${${var}}")
# we remove -fvisibility-inlines-hidden because it's used for C++ compiler
# but NVCC uses C compiler by default
string(REPLACE "-fvisibility-inlines-hidden" "" ${var} "${${var}}")
endforeach() endforeach()
if(BUILD_SHARED_LIBS) if(BUILD_SHARED_LIBS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment