Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Aug 19, 2024
1 parent 5a11514 commit 8abfbe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cub/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ function(cub_add_test target_name_var test_name test_src cub_target launcher_id)
target_compile_options(${test_target} PRIVATE -ftemplate-depth=1000) # for handling large type lists
endif()

# TODO(bgruber): maybe we want to enable lambdas for all API examples
if ("${test_target}" MATCHES "test.device_transform_api")
# enable lambdas for all API examples
if ("${test_target}" MATCHES "test.[A-Za-z0-9_]+_api")
target_compile_options(${test_target} PRIVATE --extended-lambda)
endif()

Expand Down

0 comments on commit 8abfbe9

Please sign in to comment.