From 41271e62abcd2743dc4fa38c02c118cfca306cad Mon Sep 17 00:00:00 2001 From: Madman10K Date: Wed, 8 May 2024 02:12:59 +0300 Subject: [PATCH] New and improved build tool --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0bbc6c5..acb9bfa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -145,7 +145,8 @@ if (USE_OS_MODULE) pkg_check_modules(UntitledDBusUtils REQUIRED UntitledDBusUtils) link_directories(${UntitledDBusUtils_LIBRARY_DIRS}) - list(APPEND LM_INCLUDE_DIRS ${UntitledDBusUtils_INCLUDE_DIRS}) + string(REPLACE " " ";" DBUS_DIRS "${UntitledDBusUtils_INCLUDE_DIRS}") + include_directories(${DBUS_DIRS}) list(APPEND ENABLED_LIBRARIES UntitledDBusUtils) pkg_get_variable(UDBUS_COMPILE_DEFS UntitledDBusUtils compile_defs) list(APPEND VENDOR_COMPILE_DEFS ${UDBUS_COMPILE_DEFS})