Re: wxWidgets 3.2.2.1: Does configure install wxWidgetsConfig.cmake?
Ian McInerney <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <CACp=VfaWfgD2tMAJz1LLDjCrOW5Thrs-QDS2whK71dwh78BSiA@mail.gmail.com> |
On Mon, Oct 2, 2023 at 7:34 PM Vadim Zeitlin <[email protected]> wrote: > On Mon, 02 Oct 2023 20:06:51 +0200 Joost Kraaijeveld wrote: > > JK> The subject says it all. Does configure install wxWidgetsConfig.cmake? > > No, it doesn't. > > JK> And indeed, there is no such file in the installation tree. But there > JK> is one in the compilation tree though. It appears that "make install" > JK> does not install it. Is that correct, i.e that does not happen? Should > JK> it happen? Am I missing something? > > I don't know if it should happen. I guess we could install it because it > does no harm, so if you can make a (probably trivial, but it needs testing) > PR doing this, I'd merge it. I don't think it is actually that simple. At least in my build, I don't see any wxWidgetsConfig.cmake generated into the build tree using the configure script. The only file with that in my entire wx folder is the one shipped in git inside build/cmake. That file needs to be configured by CMake before it could be used. > But generally speaking I think the assumption > is that if you use CMake to build your application, you're also building > wxWidgets with it (because why not?) and then CMake would take care of > doing this. > It actually is pretty common, at least on Linux. You generally don't build your own dependencies there, and at least Fedora (and I think Debian, but I can't check because apparently salsa.debian is down for me) build their system version using configure. So packages there rely on the upstream CMake find scripts to locate wx (hence why we in KiCad can't use CMake CONFIG mode for wx yet). -Ian > > Regards, > VZ > > -- > TT-Solutions: wxWidgets consultancy and technical support > https://www.tt-solutions.com/ > -- Ian McInerney [email protected] No electrons were harmed in the making of this message -- Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. --- You received this message because you are subscribed to the Google Groups "wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/CACp%3DVfaWfgD2tMAJz1LLDjCrOW5Thrs-QDS2whK71dwh78BSiA%40mail.gmail.com.