-- Fix CMake 4.x compatibility and remove the libstdc++fs link. -- Upstream report for CMake 4: https://github.com/JoseExposito/touchegg/issues/702 -- -- CMake 4.0 dropped support for cmake_minimum_required(VERSION < 3.5). -- FreeBSD's libc++ provides std::filesystem without a separate library, so -- the hardcoded stdc++fs target does not exist here. --- CMakeLists.txt.orig 2025-05-24 09:07:48.000000000 -0700 +++ CMakeLists.txt 2026-08-28 06:30:00.000000000 -0700 @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0.0) +cmake_minimum_required(VERSION 3.5) project(touchegg) set(MAJOR_VERSION "2") @@ -52,7 +52,6 @@ target_include_directories(touchegg ${GIO_INCLUDE_DIRS} ) target_link_libraries(touchegg - stdc++fs # std::filesystem Threads::Threads # std::thread ${LIBUDEV_LIBRARIES} ${LIBINPUT_LIBRARIES}