Add gtk example

This commit is contained in:
James H
2022-01-03 14:13:43 +00:00
parent e750a4f523
commit 0073d1f9c3
3 changed files with 49 additions and 0 deletions

10
CMakeLists.txt Normal file
View File

@@ -0,0 +1,10 @@
cmake_minimum_required(VERSION 3.10)
set(CMAKE_CXX_STANDARD 17)
project(PiCamera)
# Find gtk+-2.0 library
find_package(PkgConfig REQUIRED)
pkg_check_modules(GTK2 REQUIRED gtk+-2.0)
add_subdirectory(src)