# Copyright © 2019 Collabora Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# (See debian/copyright)

cmake_minimum_required(VERSION 3.0)
project(Hello)
include(FindPkgConfig)
pkg_check_modules(GLIB2 REQUIRED glib-2.0)
include_directories(${GLIB2_INCLUDE_DIRS})

add_executable(hello hello.c)
target_link_libraries(hello ${GLIB2_LIBRARIES})
target_compile_options(hello PUBLIC ${GLIB2_CFLAGS_OTHER})
