Cannot compile 960GTX Ubuntu 18.2 Cuda 7/5
Hello!

Today i tried to upgrade my green miner before cnv4 implementation and got this issue when trying to cmake

/home/censored/xmrig-nvidia/src/nvidia/cuda_cryptonight_gpu.hpp(418): error: Within a __device__/__global__ function, only __shared__ variables may be marked "static"
          detected during instantiation of "void cryptonight_core_gpu_hash_gpu<ALGO,VARIANT>(nvid_ctx *, uint32_t) [with ALGO=xmrig::CRYPTONIGHT, VARIANT=xmrig::VARIANT_GPU]"
/home/censored/xmrig-nvidia/src/nvidia/cuda_core.cu(927): here

1 error detected in the compilation of "/tmp/tmpxft_0000544a_00000000-13_cuda_core.compute_20.cpp1.ii".
CMake Error at xmrig-cuda_generated_cuda_core.cu.o.cmake:266 (message):
  Error generating file
  /home/censored/xmrig-nvidia/build/CMakeFiles/xmrig-cuda.dir/src/nvidia/./xmrig-cuda_generated_cuda_core.cu.o


CMakeFiles/xmrig-cuda.dir/build.make:63: recipe for target 'CMakeFiles/xmrig-cuda.dir/src/nvidia/xmrig-cuda_generated_cuda_core.cu.o' failed
make[2]: *** [CMakeFiles/xmrig-cuda.dir/src/nvidia/xmrig-cuda_generated_cuda_core.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/xmrig-cuda.dir/all' failed
make[1]: *** [CMakeFiles/xmrig-cuda.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2


I tried to use all 3 recipes described at build intructions section but the result was the same.