Skip to content

Commit

Permalink
fix cmake syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
poweiw committed Jul 17, 2024
1 parent 55128ce commit 376dabc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/onnxruntime_unittests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function(AddTest)
target_include_directories(${_UT_TARGET} PRIVATE ${NCCL_INCLUDE_DIRS})
endif()
if(onnxruntime_CUDA_MINIMAL)
target_compile_definitions(${_UT_TARGET} PRIVATE USE_CUDA_MINIMAL=1)
target_compile_definitions(${_UT_TARGET} PRIVATE -DUSE_CUDA_MINIMAL)
endif()
endif()
if (onnxruntime_USE_TENSORRT)
Expand Down

0 comments on commit 376dabc

Please sign in to comment.