Skip to content
Snippets Groups Projects
CMakeLists.txt 368 B
Newer Older
  • Learn to ignore specific revisions
  • if( BUILD_CUDA )
        CUDA_ADD_EXECUTABLE( tnl-benchmark-blas tnl-benchmark-blas.cu )
        CUDA_ADD_CUBLAS_TO_TARGET( tnl-benchmark-blas )
    else()
        ADD_EXECUTABLE( tnl-benchmark-blas tnl-benchmark-blas.cpp )
    endif()
    
    if( HAVE_BLAS )
       target_link_libraries( tnl-benchmark-blas ${BLAS_LIBRARIES} )
    endif()
    
    
    install( TARGETS tnl-benchmark-blas RUNTIME DESTINATION bin )