Loading src/Benchmarks/BLAS/CMakeLists.txt +10 −4 Original line number Diff line number Diff line Loading @@ -5,6 +5,11 @@ else() add_executable( tnl-benchmark-blas tnl-benchmark-blas.cpp ) endif() find_package( BLAS ) if( BLAS_FOUND ) target_compile_definitions( tnl-benchmark-blas PUBLIC "-DHAVE_BLAS" ) target_link_libraries( tnl-benchmark-blas ${BLAS_LIBRARIES} ) else() find_library( CBLAS_LIBRARY NAMES cblas PATHS /usr/lib /usr/lib64 Loading @@ -14,5 +19,6 @@ if( CBLAS_LIBRARY ) target_compile_definitions( tnl-benchmark-blas PUBLIC "-DHAVE_BLAS" ) target_link_libraries( tnl-benchmark-blas ${CBLAS_LIBRARY} ) endif() endif() install( TARGETS tnl-benchmark-blas RUNTIME DESTINATION bin ) Loading
src/Benchmarks/BLAS/CMakeLists.txt +10 −4 Original line number Diff line number Diff line Loading @@ -5,6 +5,11 @@ else() add_executable( tnl-benchmark-blas tnl-benchmark-blas.cpp ) endif() find_package( BLAS ) if( BLAS_FOUND ) target_compile_definitions( tnl-benchmark-blas PUBLIC "-DHAVE_BLAS" ) target_link_libraries( tnl-benchmark-blas ${BLAS_LIBRARIES} ) else() find_library( CBLAS_LIBRARY NAMES cblas PATHS /usr/lib /usr/lib64 Loading @@ -14,5 +19,6 @@ if( CBLAS_LIBRARY ) target_compile_definitions( tnl-benchmark-blas PUBLIC "-DHAVE_BLAS" ) target_link_libraries( tnl-benchmark-blas ${CBLAS_LIBRARY} ) endif() endif() install( TARGETS tnl-benchmark-blas RUNTIME DESTINATION bin )