mirror of https://github.com/dnomd343/gdbus-demo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
654 B
14 lines
654 B
3 years ago
|
cmake_minimum_required(VERSION 3.16)
|
||
|
|
||
|
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/includes)
|
||
|
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/gdbus)
|
||
|
INCLUDE_DIRECTORIES(/usr/include/glib-2.0)
|
||
|
INCLUDE_DIRECTORIES(/usr/include/gio-unix-2.0)
|
||
|
INCLUDE_DIRECTORIES(/usr/lib/glib-2.0/include)
|
||
|
INCLUDE_DIRECTORIES(/usr/lib/i386-linux-gnu/glib-2.0/include)
|
||
|
INCLUDE_DIRECTORIES(/usr/lib/x86_64-linux-gnu/glib-2.0/include)
|
||
|
INCLUDE_DIRECTORIES(/usr/lib/aarch64-linux-gnu/glib-2.0/include)
|
||
|
|
||
|
add_executable(client client.cpp ${PROJECT_SOURCE_DIR}/gdbus/gdbus_demo_gen.c)
|
||
|
target_link_libraries(client rt pthread gio-2.0 glib-2.0 gobject-2.0 gmodule-2.0 gthread-2.0)
|