Skip to content

Commit 7cb7afb

Browse files
ccawley2011Cosmin Truta
authored and
Cosmin Truta
committed
CMake: Fix compilation on systems without libm
1 parent 1bd4214 commit 7cb7afb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ if(NOT WIN32)
6161
)
6262
if(NOT M_LIBRARY)
6363
message(STATUS "math lib 'libm' not found; floating point support disabled")
64+
set(M_LIBRARY "")
6465
endif()
6566
else()
6667
# not needed on windows

0 commit comments

Comments
 (0)