]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Print better information about Lua found
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 27 Feb 2017 12:59:05 +0000 (12:59 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 27 Feb 2017 12:59:05 +0000 (12:59 +0000)
CMakeLists.txt

index 5cf77f2db3fe48dd2a49b9c1d45780d9fbabf2ff..efa706545b7d42bff3bd44893f2e26cfc3a68b2d 100644 (file)
@@ -309,9 +309,9 @@ MACRO(FindLua)
                        SET(LUA_VERSION_MINOR ${LUA_VERSION_MINOR})
                ENDIF(NOT LUA_VERSION_MAJOR OR NOT LUA_VERSION_MINOR)
                IF(ENABLE_LUAJIT MATCHES "ON")
-                       MESSAGE(STATUS "Found luajit ${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}")
+                       MESSAGE(STATUS "Found luajit ${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR} in lib:${LUA_LIBRARY}, headers:${LUA_INCLUDE_DIR}")
                ELSE(ENABLE_LUAJIT MATCHES "ON")
-                       MESSAGE(STATUS "Found lua ${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}")
+                       MESSAGE(STATUS "Found lua ${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR} in lib:${LUA_LIBRARY}, headers:${LUA_INCLUDE_DIR}")
                ENDIF(ENABLE_LUAJIT MATCHES "ON")
        ENDIF(LUA_LIBRARY AND LUA_INCLUDE_DIR)
 ENDMACRO()