Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Commit

Permalink
pass std=c++11 directly to nvcc
Browse files Browse the repository at this point in the history
  • Loading branch information
bwasti committed Dec 22, 2016
1 parent c4b2418 commit 117eed2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ include(cmake/Cuda.cmake)
if(HAVE_CUDA)
SET(CUDA_PROPAGATE_HOST_FLAGS OFF)
LIST(APPEND CUDA_NVCC_FLAGS -Xcompiler -std=c++11)
LIST(APPEND CUDA_NVCC_FLAGS -std=c++11)
LIST(APPEND CUDA_NVCC_FLAGS -gencode arch=compute_52,code=sm_52)
endif()

Expand Down

0 comments on commit 117eed2

Please sign in to comment.