project (gtkmm_Hello) cmake_minimum_required (VERSION 2.6) include (FindGTK2) include_directories (${GTK2_INCLUDE_DIRS}) # add the executable add_executable (gtkmm_Hello gtkmm_Hello.c) target_link_libraries (gtkmm_Hello ${GTK2_LIBRARIES})