Add GTK to Cmake



I am actually trying to use gtk with Clion.

After some research, I found that I have to modify the cmake file (

But it does not work for me, I have an error that appears that I cannot understand.

It seems that Clion has found Gtk, but something goes wrong.

Does anyone have an idea how to solve this problem?

Thanks in advance


PS: Sorry, English is not my main language

1 comment


There seems to be a problem with CMake and pkg-config on Windows. See, for example, and the issues mentioned in the comments there.



Please sign in to leave a comment.