CMake/Tests/FindGTK2/gdk/CMakeLists.txt

11 lines
202 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 2.8)
project(gdk C)
find_package(GTK2 COMPONENTS gtk REQUIRED)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_executable(gdk WIN32 main.c)
target_link_libraries(gdk GTK2::gdk)