cmake_minimum_required(VERSION 3.5) project(gdkmm CXX) find_package(GTK2 COMPONENTS gtk gtkmm REQUIRED) set(CMAKE_INCLUDE_CURRENT_DIR ON) add_executable(gdkmm WIN32 main.cpp) target_link_libraries(gdkmm GTK2::gdkmm)