Merge pull request #3011 from cyyever/fix_link

link math lib on FreeBSD
This commit is contained in:
Martin Kroeker 2020-12-04 08:50:59 +01:00 committed by GitHub
commit 07e9a12349
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ add_executable(${OpenBLAS_utest_bin} ${OpenBLAS_utest_src})
target_link_libraries(${OpenBLAS_utest_bin} ${OpenBLAS_LIBNAME}) target_link_libraries(${OpenBLAS_utest_bin} ${OpenBLAS_LIBNAME})
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") if(${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
target_link_libraries(${OpenBLAS_utest_bin} m) target_link_libraries(${OpenBLAS_utest_bin} m)
endif() endif()