1 2 3 4 5 6 7 8 9 10
cmake_minimum_required(VERSION 2.8.12) project(cairomm CXX) find_package(GTK2 COMPONENTS gtk gtkmm REQUIRED) set(CMAKE_INCLUDE_CURRENT_DIR ON) add_executable(cairomm WIN32 main.cpp) target_link_libraries(cairomm GTK2::cairomm)