--- ./CMakeLists.txt 2021-10-23 05:32:14.000000000 +0530 +++ ./CMakeLists.txt.mod 2021-12-08 15:09:15.324372847 +0530 @@ -115,9 +115,7 @@ find_package(ZLIB) endif() -if (UNIX) - find_library(MATH_LIB m) -endif () +set(MATH_LIB -lm) if (WIN32) # Find Windows specific dependencies