Skip to content

Commit

Permalink
CMake: Fix compilation on systems without libm
Browse files Browse the repository at this point in the history
  • Loading branch information
ccawley2011 authored and ctruta committed Aug 1, 2018
1 parent eb31467 commit 0ec3159
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ec3159

Please sign in to comment.