[CMake] Some minor issues for 2.6.0-RC-8
Hendrik Sattler
post at hendrik-sattler.de
Wed Apr 23 02:18:19 EDT 2008
Zitat von "Miguel A. Figueroa-Villanueva" <miguelf at ieee.org>:
> On Fri, Apr 18, 2008 at 10:35 AM, Bill Hoffman wrote:
>> Alan W. Irwin wrote:
>> > (1) In FindwxWidgets.cmake, wxWidgets_LIBRARIES is documented as
>> > "Path to the wxWidgets libraries". From the above result (before my macro
>> > transformed it) this documentation should be changed to something like
>> > "List of linker options to use when linking to the wxWidgets libraries".
>>
>> Can the FindwxWidgets.cmake maintainer take a look at this? I think the
>> issue is that pkg-config is used. So, on windows where it is not used then
>> that statement is correct.
>
> I'm sorry for the late reply... but yes Bill is right. On Windows, we
> look for the libraries with some find_library magic and this statement
> is correct. On linux, it uses `wx-config --libs` output which is a
> list of linker options.
>
> Maybe, I should document it as:
>
> wxWidgets_LIBRARIES - Path to the wxWidgets libraries in windows. For
> unix style it includes a list of linker options.
Actually, the Module should be fixed instead to do the documented
thing. Like pkg-config, the wx-config output should be properly
post-processed.
HS
More information about the CMake
mailing list