2008/11/24 Pau Garcia i Quiles <[EMAIL PROTECTED]>: > On 11/23/08, Wim Dumon <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Wt names its debug and release libraries different, by adding a 'd' to >> the development versions. > > What about making that optional? That way I would get rid of a patch I > use in the Debian packaging >
You shouldn't install the debug libraries on debian, should you? >> Also in windows, you have to add a few more >> dependent libraries. >> Try this: >> TARGET_LINK_LIBRARIES(myprog.wt DEBUG wtd wtthttpd winmm OPTIMIZED wt >> wthttp winmm) > > Two points here: > - "find_package(wt required)" and using the variables it provides > (Wt_LIBRARY, etc) should be thne preferred way when using CMake to > build a Wt application I haven't found a way to install the FindWt file on windows in a place where it is always found > - FindWt.cmake should add 'winmm' to Wt_LIBRARY or WtHTTP_LIBRARY, > whichever contains the dependency > Correct, but, if I'm not mistaken, that dependency is only required when linking to static versions of the library. Hmm, I should probably change the FindWt file to take into account how exactly the library was built. I guess I will have to make some updates to the cmake file on Windows. Best regards, Wim. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
