Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics.
[simgrid.git] / buildtools / Cmake / Modules / FindLua51Simgrid.cmake
index 359a921..efe9316 100644 (file)
@@ -55,4 +55,23 @@ mark_as_advanced(HAVE_LUA5_1_LAUXLIB_H)
 mark_as_advanced(HAVE_LUA5_1_LUALIB_H)
 mark_as_advanced(HAVE_LUA51_LIB)                                                                                                                                                                             
 mark_as_advanced(HAVE_LUA_H)
-mark_as_advanced(HAVE_LUA_BIN)
\ No newline at end of file
+mark_as_advanced(HAVE_LUA_BIN)
+
+message("-- Looking for lua.h")
+if(HAVE_LUA_H)
+message("-- Looking for lua.h - found")
+else(HAVE_LUA_H)
+message("-- Looking for lua.h - not found")
+endif(HAVE_LUA_H)
+
+message("-- Looking for lib lua")
+if(HAVE_LUA51_LIB)
+message("-- Looking for lib lua - found")
+message("-- Lib lua version: ${LIB_LUA_NAME}")
+else(HAVE_LUA51_LIB)
+message("-- Looking for lib lua - not found")
+endif(HAVE_LUA51_LIB)
+
+if(HAVE_LUA_BIN)
+message("-- Found Lua: ${HAVE_LUA_BIN}")
+endif(HAVE_LUA_BIN)
\ No newline at end of file