mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
CMake: Fix compilation on systems without libm
This commit is contained in:
parent
1bd4214a42
commit
7cb7afb43d
@ -61,6 +61,7 @@ if(NOT WIN32)
|
||||
)
|
||||
if(NOT M_LIBRARY)
|
||||
message(STATUS "math lib 'libm' not found; floating point support disabled")
|
||||
set(M_LIBRARY "")
|
||||
endif()
|
||||
else()
|
||||
# not needed on windows
|
||||
|
Loading…
x
Reference in New Issue
Block a user