diff --git a/Samples/0_Introduction/matrixMulDrv/CMakeLists.txt b/Samples/0_Introduction/matrixMulDrv/CMakeLists.txt index cffbb099..bd9fd5c5 100644 --- a/Samples/0_Introduction/matrixMulDrv/CMakeLists.txt +++ b/Samples/0_Introduction/matrixMulDrv/CMakeLists.txt @@ -29,7 +29,7 @@ add_custom_command( ) # Create a dummy target for fatbin generation -add_custom_target(generate_fatbin ALL DEPENDS ${CUDA_FATBIN_FILE}) +add_custom_target(generate_fatbin_matmulDrv ALL DEPENDS ${CUDA_FATBIN_FILE}) # Ensure matrixMulDrv depends on the fatbin -add_dependencies(matrixMulDrv generate_fatbin) +add_dependencies(matrixMulDrv generate_fatbin_matmulDrv)