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