[Cmake] Using gtk-config to find pacakges
Andy Cedilnik
andy.cedilnik at kitware.com
Wed Apr 23 16:07:30 EDT 2003
Hi Amitha,
I think Gtk should be build using CMake.
Anyway, I think we should modify all Find(toolkit).cmake to use
appropriate (toolkit)-config files. We do this for wxWindows and it
works fine. There is no reason for it not to work. Maybe we could have a
boolean:
IF(TOOLKIT_USE_CONFIG)
FIND_FILE(TOOLKIT_CONFIG toolkit-config /usr/bin...)
SET(TOOLKIT_LIBRARY ...)
ELSE(
FIND_FILE(...)
ENDIF(
Andy
On Wed, 2003-04-23 at 15:35, Amitha Perera wrote:
> Hi all
>
> I haven't been following the CMake development closely recently, so I
> apologise if this a FAQ.
>
> Is there a recent CMake way to find, for example, GTK using the Unix
> gtk-config script? If so, is it reliable? Any pitfalls I should be
> aware of?
More information about the CMake
mailing list