[Cmake] gtk-config

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Wed Apr 2 10:10:17 EST 2003


Hi all,
	I would like to know why you didn't used the gtk-config script for 
Module/FindGTK.cmake

just as FindwxWindows you could have done:

   FIND_PROGRAM(CMAKE_GTK_CONFIG gtk-config ../gtk/bin ../../gtk/bin)
   SET(GTK_INCLUDE_DIR "`${CMAKE_GTK_CONFIG} --cflags`")
   SET(GTK_LIBRARIES "`${CMAKE_GTK_CONFIG} --libs --gl-libs`")


thanks,
mathieu

-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/




More information about the CMake mailing list