diff Resources/CMake/LuaConfiguration.cmake @ 425:26bb4d05a072

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 08 May 2013 12:04:01 +0200
parents 5f6d75cd4b46
children 09b3c6265a94
line wrap: on
line diff
--- a/Resources/CMake/LuaConfiguration.cmake	Wed May 08 11:13:48 2013 +0200
+++ b/Resources/CMake/LuaConfiguration.cmake	Wed May 08 12:04:01 2013 +0200
@@ -61,7 +61,7 @@
     message(FATAL_ERROR "Please install the liblua-dev package")
   endif()
 
-  CHECK_LIBRARY_EXISTS(lua "lua_pcall" HAVE_LUA_LIB)
+  CHECK_LIBRARY_EXISTS(lua lua_pcall "" HAVE_LUA_LIB)
   if (NOT HAVE_LUA_LIB)
     message(FATAL_ERROR "Please install the liblua-dev package")
   endif()