Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cmake/traccc-compiler-options-cuda.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# TRACCC library, part of the ACTS project (R&D line)
#
# (c) 2021-2023 CERN for the benefit of the ACTS project
# (c) 2021-2025 CERN for the benefit of the ACTS project
#
# Mozilla Public License Version 2.0

Expand All @@ -20,6 +20,8 @@ if( "${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC" )
endif()

if( "${CMAKE_CUDA_COMPILER_ID}" MATCHES "NVIDIA" )
traccc_add_flag( CMAKE_CUDA_FLAGS "-Wall" )
traccc_add_flag( CMAKE_CUDA_FLAGS "-Wextra" )
traccc_add_flag( CMAKE_CUDA_FLAGS "-Wconversion" )
endif()

Expand Down
Loading