On Wed, Oct 17, 2012 at 3:47 AM, Konstantin <lalakos...@gmail.com> wrote: > Of course it must be linked with LuaLib even if you use system lua. > But then LuaLib must be defined in wxlua-config.cmake > It is not defined here... and you will have an error like "can't find > -lLuaLib" on Linux. > > Maybe i can define it by myself before calling find_package(wxLua REQUIRED > wxLuaLib wxLuaBindLib) in my CMakeLists > What do you think about?
I think that for consistency the wxLuaConfig.cmake export file should include that information. There's nothing worse than linking to mismatched libs and having your app randomly crash. CMake does not allow exporting an imported lib, so I have written out the export by hand. Fixed in SVN, let me know if it doesn't work. Regards, John ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users