diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 28b724c..f69e364 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,42 +7,27 @@ set(CMAKE_AUTOMOC ON) set(OE_QMAKE_PATH_EXTERNAL_HOST_BINS $ENV{OE_QMAKE_PATH_HOST_BINS}) find_package(Qt5Qml REQUIRED) -find_package(Qt5WebSockets REQUIRED) + +find_package(PkgConfig REQUIRED) +pkg_check_modules(glib REQUIRED IMPORTED_TARGET glib-2.0) +pkg_check_modules(bluez_glib REQUIRED IMPORTED_TARGET bluez-glib) +pkg_check_modules(connman_glib REQUIRED IMPORTED_TARGET connman-glib) include(GNUInstallDirs) set(DEST_DIR "${CMAKE_INSTALL_PREFIX}") -set(PRIVATE_LIBS "${PRIVATE_LIBS} -lqtappfw-core - -lqtappfw-bt +set(PRIVATE_LIBS "${PRIVATE_LIBS} -lqtappfw-bt -lqtappfw-hvac - -lqtappfw-bt-map - -lqtappfw-mediaplayer -lqtappfw-navigation -lqtappfw-network - -lqtappfw-bt-pbap - -lqtappfw-radio - -lqtappfw-signal-composer - -lqtappfw-phone - -lqtappfw-voice - -lqtappfw-voice-metadata -lqtappfw-weather") - set (SUBDIRS - core docs bluetooth hvac - map - mediaplayer navigation network - pbap - radio - signal-composer - telephony - voice - voice-capabilities weather) foreach(subdir ${SUBDIRS}) |