gtk_example/CMakeLists.txt

16 lines
330 B
CMake
Raw Normal View History

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
2023-07-23 13:57:44 +00:00
#add_compile_options(-DMAC)
2023-03-05 16:37:31 +00:00
FIND_PACKAGE ( PkgConfig REQUIRED )
PKG_CHECK_MODULES( GTK REQUIRED gtkmm-3.0)
2023-03-05 16:37:31 +00:00
INCLUDE_DIRECTORIES ( ${GTK_INCLUDE_DIRS} )
ADD_EXECUTABLE ( example main.cpp )
TARGET_LINK_LIBRARIES( example ${CMAKE_THREAD_LIBS_INIT} ${GTK_LIBRARIES} )