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. Comments? --Miguel _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake