From a5830bfcb13e03b35c9c6dbb01a30601b896d9cc Mon Sep 17 00:00:00 2001 From: Cosmin Truta Date: Wed, 11 Jun 2025 21:38:01 +0300 Subject: [PATCH] build: Fix the detection of the math library in the CMake file This is a fix of commit 5631b9b952e6940c67d4b48c00882e99229aa31b "build: Implement various improvements to the CMake file" --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4fc7508c3..fbfa0bd25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,7 +147,7 @@ if(UNIX if(M_LIBRARY) set(M_LIBRARY m) else() - set(M_LIBRARY) + set(M_LIBRARY "") endif() else() # libm is not available or not needed.