From bf45fe4fc08b7896bf8e9f8dc602d273d45846c1 Mon Sep 17 00:00:00 2001 From: JohannesItten Date: Tue, 23 Jun 2026 13:52:15 +0300 Subject: [PATCH] build: disable UUID_SYSTEM_GENERATOR to remove libuuid dependency on Linux UUID_SYSTEM_GENERATOR=ON requires libuuid on Linux and CoreFoundation on macOS. Turning it off uses stduuid's built-in mt19937 generator, which needs no system packages and works identically on all platforms. Co-Authored-By: Claude Sonnet 4.6 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5746dd9..b14839c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ FetchContent_Declare(spdlog FetchContent_MakeAvailable(spdlog) # ── stduuid (header-only; no brew formula) ─────────────────────────────────── -set(UUID_SYSTEM_GENERATOR ON CACHE BOOL "" FORCE) # use CoreFoundation on macOS +set(UUID_SYSTEM_GENERATOR OFF CACHE BOOL "" FORCE) # avoid libuuid/CoreFoundation dep set(UUID_USING_CXX20_SPAN ON CACHE BOOL "" FORCE) # std::span, no GSL dependency set(UUID_BUILD_TESTS OFF CACHE BOOL "" FORCE) FetchContent_Declare(stduuid