From 50bfedf391a078e628bf1259f819da42dea1cde0 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Mon, 7 Jan 2013 23:26:18 +0100 Subject: 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. --- Modules/FindLua51.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindLua51.cmake b/Modules/FindLua51.cmake index 2d7ed3d..a2bf0c0 100644 --- a/Modules/FindLua51.cmake +++ b/Modules/FindLua51.cmake @@ -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 -- cgit v0.12