From 325e41b02b583289a0ade4f185e0cb2057e17bcb Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 13 Apr 2024 02:24:44 +0200 Subject: [PATCH] fix(build): adjust Linux-only header after 5cb9c3c7c715 In file included from theseus-ship-6.0.0/main_wayland.cpp:10: In file included from /usr/include/como/base/wayland/xwl_platform.h:17: In file included from /usr/include/como/render/wayland/xwl_platform.h:15: In file included from /usr/include/como/render/post/night_color_manager.h:14: /usr/include/como/base/os/clock/skew_notifier.h:8:10: fatal error: 'skew_notifier_engine.h' file not found 8 | #include "skew_notifier_engine.h" | ^~~~~~~~~~~~~~~~~~~~~~~~ --- como/base/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/como/base/CMakeLists.txt b/como/base/CMakeLists.txt index 302054eb6..c2bdbffd3 100644 --- a/como/base/CMakeLists.txt +++ b/como/base/CMakeLists.txt @@ -18,7 +18,7 @@ target_sources(base PUBLIC FILE_SET HEADERS FILES - os/clock/linux_skew_notifier_engine.h + os/clock/skew_notifier_engine.h os/clock/skew_notifier.h seat/backend/logind/session.h seat/session.h @@ -49,7 +49,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux") PUBLIC FILE_SET HEADERS FILES - os/clock/skew_notifier_engine.h + os/clock/linux_skew_notifier_engine.h PRIVATE os/clock/linux_skew_notifier_engine.cpp )