commit | 7cb7afb43d5fc721c0dd6e278fad87ae13d1d404 | [log] [tgz] |
---|---|---|
author | Cameron Cawley <ccawley2011@gmail.com> | Tue Jul 31 18:44:37 2018 +0100 |
committer | Cosmin Truta <ctruta@magicleap.com> | Wed Aug 01 00:24:48 2018 -0400 |
tree | 0ddaf34ab29ecb7896f269bc03f6f446a70b7e0e | |
parent | 1bd4214a42277fc5125a422f49df3a781219943b [diff] |
CMake: Fix compilation on systems without libm
diff --git a/CMakeLists.txt b/CMakeLists.txt index 805ba14..60d9c48 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -61,6 +61,7 @@ ) if(NOT M_LIBRARY) message(STATUS "math lib 'libm' not found; floating point support disabled") + set(M_LIBRARY "") endif() else() # not needed on windows