Skip to content

Commit 07e9a12

Browse files
authored
Merge pull request #3011 from cyyever/fix_link
link math lib on FreeBSD
2 parents dd1adbd + 3b4c016 commit 07e9a12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utest/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ add_executable(${OpenBLAS_utest_bin} ${OpenBLAS_utest_src})
5858

5959
target_link_libraries(${OpenBLAS_utest_bin} ${OpenBLAS_LIBNAME})
6060

61-
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
61+
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
6262
target_link_libraries(${OpenBLAS_utest_bin} m)
6363
endif()
6464

0 commit comments

Comments
 (0)