mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
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"
This commit is contained in:
parent
3bca02e274
commit
a5830bfcb1
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user