Skip to content

Commit

Permalink
Fixed CMakeLists.txt so you don't have to change CLion Build Settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
kwoodle committed Jun 9, 2020
1 parent 9532546 commit e7c6285
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit e7c6285

Please sign in to comment.