FindLua51: do not try to link libm on BeOS

This includes Haiku, which currently is treated as BeOS. The ComplexOneConfig
test already knew about this.
This commit is contained in:
Rolf Eike Beer 2013-01-07 23:26:18 +01:00
parent 3d2e6a0687
commit 50bfedf391
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ find_library(LUA_LIBRARY
if(LUA_LIBRARY)
# include the math library for Unix
if(UNIX AND NOT APPLE)
if(UNIX AND NOT APPLE AND NOT BEOS)
find_library(LUA_MATH_LIBRARY m)
set( LUA_LIBRARIES "${LUA_LIBRARY};${LUA_MATH_LIBRARY}" CACHE STRING "Lua Libraries")
# For Windows and Mac, don't need to explicitly include the math library