diff options
| author | Mihai Fufezan <mihai@fufexan.net> | 2025-12-15 17:59:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-15 15:59:08 +0000 |
| commit | 4036c37e5578d9d8558bacbf590becc09c7d51b2 (patch) | |
| tree | dcedbd343188a0104ad02a3d012c9d048a2cb10c /CMakeLists.txt | |
| parent | 7ccc57eb7cacded5e7a8835b705bba48963d3cb3 (diff) | |
hyprctl: add nix flag (#12653)
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a192a694..d3af715d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -321,6 +321,10 @@ if(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG) endif() endif() +if(BUILT_WITH_NIX) + add_compile_definitions(BUILT_WITH_NIX) +endif() + check_include_file("execinfo.h" EXECINFOH) if(EXECINFOH) message(STATUS "Configuration supports execinfo") |
