Re: [CMake] How to find GTK3 in CMake

2018-11-21 Thread Harry Mallon
Hi again, Thanks David and Eric. I have actually used cmake’s pkgconfig integration to support this library. As you say (about it not being very portable) I only needed it on Linux so pkgconfig is a reasonable thing to use. Thanks, Harry Harry Mallon Senior Software Engineer [http://codex.o

Re: [CMake] How to find GTK3 in CMake

2018-11-21 Thread Jan Wielemaker
On 21/11/2018 09:46, David Demelier wrote: > The philosophy behind CMake is to let upstream projects provides their > own CMake configuration packages rather than providing Find modules for > every single library existing in the world. > > CMake should already not provide any of these, but this gen

Re: [CMake] How to find GTK3 in CMake

2018-11-21 Thread David Demelier
Le 21/11/2018 à 10:19, Jan Wielemaker a écrit : Good. I was already considering providing a cmake file after migrating SWI-Prolog to cmake. Are there good guidelines for this? Pkg-config asks for providing a .pc file and installing in a well-known place. Is there a similar place for project cmake

Re: [CMake] How to find GTK3 in CMake

2018-11-21 Thread Eric Noulard
Le mer. 21 nov. 2018 à 09:46, David Demelier a écrit : > Le 20/11/2018 à 17:03, Harry Mallon a écrit : > > Hi, > > > > FindGTK and FindGTK2 exist in the CMake tree. How come there isn't one > for GTK3? Should the GTK2 one work, or is there another way? > > GNOME people don't like CMake (they use

Re: [CMake] How to find GTK3 in CMake

2018-11-21 Thread David Demelier
Le 20/11/2018 à 17:03, Harry Mallon a écrit : Hi, FindGTK and FindGTK2 exist in the CMake tree. How come there isn't one for GTK3? Should the GTK2 one work, or is there another way? GNOME people don't like CMake (they use meson). The philosophy behind CMake is to let upstream projects provid

[CMake] How to find GTK3 in CMake

2018-11-20 Thread Harry Mallon
Hi, FindGTK and FindGTK2 exist in the CMake tree. How come there isn't one for GTK3? Should the GTK2 one work, or is there another way? Harry Harry Mallon Senior Software Engineer T+44 203 7000 989  60 Poland Street | London | England | W1F 7NT -- Powered by www.kitware.com Please keep