Skip to content

Commit

Permalink
Simplify test cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
lowener committed Jan 22, 2024
1 parent ee4d166 commit 163d9d4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cpp/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ rapids_test_init()

function(ConfigureTest)

set(options OPTIONAL LIB EXPLICIT_INSTANTIATE_ONLY NOCUDA)
set(options OPTIONAL NOCUDA)
set(oneValueArgs NAME GPUS PERCENT)
set(multiValueArgs PATH TARGETS CONFIGURATIONS)

Expand Down Expand Up @@ -62,9 +62,6 @@ function(ConfigureTest)
${TEST_NAME} PRIVATE "$<$<COMPILE_LANGUAGE:CXX>:${CUVS_CXX_FLAGS}>"
"$<$<COMPILE_LANGUAGE:CUDA>:${CUVS_CUDA_FLAGS}>"
)
if(_CUVS_TEST_EXPLICIT_INSTANTIATE_ONLY)
target_compile_definitions(${TEST_NAME} PRIVATE "CUVS_EXPLICIT_INSTANTIATE_ONLY")
endif()
if(_CUVS_TEST_NOCUDA)
target_compile_definitions(${TEST_NAME} PRIVATE "CUVS_DISABLE_CUDA")
endif()
Expand Down

0 comments on commit 163d9d4

Please sign in to comment.