CMake: Fix compilation on systems without libm

This commit is contained in:
Cameron Cawley 2018-07-31 18:44:37 +01:00 committed by Cosmin Truta
parent 1bd4214a42
commit 7cb7afb43d

View File

@ -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