Skip to content

Commit

Permalink
Fix typo in CCCLBuildCompilerTargets.cmake (#2453)
Browse files Browse the repository at this point in the history
* Fix typo in CCCLBuildCompilerTargets.cmake
  • Loading branch information
alliepiper authored Sep 24, 2024
1 parent 6fd1e5c commit 0f0fdc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/CCCLBuildCompilerTargets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ function(cccl_build_compiler_targets)
set(cxx_compile_options)
set(cxx_compile_definitions)

list(APPEND cuda_compile_definitions "-Xcudafe=--display_error_number")
list(APPEND cuda_compile_definitions "-Xcudafe=--promote_warnings")
list(APPEND cuda_compile_definitions "-Wno-deprecated-gpu-targets")
list(APPEND cuda_compile_options "-Xcudafe=--display_error_number")
list(APPEND cuda_compile_options "-Xcudafe=--promote_warnings")
list(APPEND cuda_compile_options "-Wno-deprecated-gpu-targets")

# Ensure that we build our tests without treating ourself as system header
list(APPEND cxx_compile_definitions "_CCCL_NO_SYSTEM_HEADER")
Expand Down

0 comments on commit 0f0fdc2

Please sign in to comment.