Skip to content

Commit

Permalink
Merge pull request mfem#3831 from mfem/sjg/cuda-flags-cmake-fix
Browse files Browse the repository at this point in the history
Fix `CMAKE_CUDA_FLAGS` flags for CMake build
  • Loading branch information
tzanio authored Sep 5, 2023
2 parents b57486e + 1844c93 commit 64c8725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ if (MFEM_USE_CUDA)
set(CUDA_FLAGS "-ccbin=${CMAKE_CXX_COMPILER} ${CUDA_FLAGS}")
set(CMAKE_CUDA_HOST_LINK_LAUNCHER ${CMAKE_CXX_COMPILER})
endif()
set(CMAKE_CUDA_FLAGS ${CMAKE_CUDA_FLAGS} ${CUDA_FLAGS})
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} ${CUDA_FLAGS}")
set(CUSPARSE_FOUND TRUE)
set(CUSPARSE_LIBRARIES "cusparse")
set(CUBLAS_FOUND TRUE)
Expand Down

0 comments on commit 64c8725

Please sign in to comment.