2023-03-05 16:37:31 +00:00
|
|
|
PROJECT ( example )
|
|
|
|
|
2023-03-06 19:53:15 +00:00
|
|
|
cmake_minimum_required( VERSION 3.16 )
|
2023-03-05 16:37:31 +00:00
|
|
|
|
|
|
|
FIND_PACKAGE ( PkgConfig REQUIRED )
|
|
|
|
PKG_CHECK_MODULES( GTK REQUIRED gtkmm-4.0)
|
|
|
|
INCLUDE_DIRECTORIES ( ${GTK_INCLUDE_DIRS} )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ADD_EXECUTABLE ( example main.cpp )
|
|
|
|
TARGET_LINK_LIBRARIES( example ${CMAKE_THREAD_LIBS_INIT} ${GTK_LIBRARIES} )
|
|
|
|
|