]> git.sesse.net Git - vlc/commitdiff
cmake: Cache Lua library, as we won't define it the next time.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 8 Feb 2008 15:16:48 +0000 (15:16 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 8 Feb 2008 15:16:48 +0000 (15:16 +0000)
extras/buildsystem/cmake/include/FindLua.cmake

index 0adf64511c66d84965bfdb6bfd1925b04096a892..8b49e7b9990f235f7cf855d3f688fea67813f405 100644 (file)
@@ -20,7 +20,7 @@ if (NOT Lua_SEARCHED)
     if (NOT Lua_FOUND)
         find_library( Lua_LIBRARY NAMES lua5.1 lua51 lua)
         if (Lua_LIBRARY)
-              set(Lua_LIBRARIES "${Lua_LIBRARY}")
+              set(Lua_LIBRARIES "${Lua_LIBRARY}" CACHE INTERNAL "")
               set(Lua_FOUND TRUE CACHE INTERNAL "")
         endif (Lua_LIBRARY)
     endif (NOT Lua_FOUND)