From 7aaa0ce0e87e94cd9284e55b4cde0d8cae9cad17 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 25 Jul 2022 17:02:16 +0200 Subject: [PATCH] utest needs to be linked against libm on QNX as well --- utest/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utest/CMakeLists.txt b/utest/CMakeLists.txt index 5511015bb..2e32827d3 100644 --- a/utest/CMakeLists.txt +++ b/utest/CMakeLists.txt @@ -59,7 +59,7 @@ add_executable(${OpenBLAS_utest_bin} ${OpenBLAS_utest_src}) target_link_libraries(${OpenBLAS_utest_bin} ${OpenBLAS_LIBNAME}) -if(${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") +if(${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR ${CMAKE_SYSTEM_NAME} MATCHES "QNX" ) target_link_libraries(${OpenBLAS_utest_bin} m) endif()