Pierrick Grasland wrote: > I'm testing CMake with a little project, but I encounter a problem with GTK.
> I was building with autotools and pkg_config before, so I know I have > GTK+-2.0 on my system. Since pkg-config is the "officially supported" way to obtain GTK dependencies and compiler flag (I believe it was designed by many of the same developers), I find that using CMake's pkg-config module works best (even on Win32). See the documentation at http://www.cmake.org/cmake/help/cmake2.6docs.html#module:FindPkgConfig and try something along the lines of find_package(PkgConfig) pkg_check_modules(GTK gtk+-2.0) include_directories(${GTK_INCLUDE_DIRS}) ...etc Cheers, Tim
begin:vcard fn:Timothy Shead n:Shead;Timothy org:www.k-3d.org email;internet:tsh...@k-3d.com title:Founder x-mozilla-html:FALSE url:www.k-3d.org version:2.1 end:vcard
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake