From e7c6285cfffca8467beb3cf2459dab7b4e1a9e73 Mon Sep 17 00:00:00 2001 From: kwoodle Date: Tue, 9 Jun 2020 19:49:26 -0400 Subject: [PATCH] Fixed CMakeLists.txt so you don't have to change CLion Build Settings. --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e9eb068..7626076 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,10 @@ +# NO LONGER NEEDS THESE SETTINGS? # Needs CUDAHOSTCXX=/usr/bin/cuda-g++;CUDA_LIB_PATH=/usr/local/cuda/lib64 in # CLion Settings | Build, Execution, Deployment | CMake > Environment on fedora -# and CUDAHOSTCXX=/usr/bin/g++-8 on pop_os +# and CUDAHOSTCXX=/usr/bin/g++-8;CUDA_LIB_PATH=/usr/lib/cuda/lib64 on pop_os cmake_minimum_required(VERSION 3.16) - +set(CMAKE_CUDA_HOST_COMPILER /usr/bin/g++-8) project(CudaSamples LANGUAGES CXX CUDA) #set(ENV{MPI_HOME} /usr/local ) set(CMAKE_CUDA_STANDARD 14)