mirror of
https://github.com/hyprwm/Hyprland
synced 2026-01-07 03:10:28 +01:00
CMake: disable tests by default (#10899)
This commit is contained in:
parent
b246f33ab1
commit
90c8609cbb
2 changed files with 4 additions and 2 deletions
|
|
@ -455,7 +455,7 @@ install(
|
|||
PATTERN "*.hpp"
|
||||
PATTERN "*.inc")
|
||||
|
||||
if(NOT NO_TESTS)
|
||||
if(TESTS)
|
||||
enable_testing()
|
||||
add_custom_target(tests)
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
}: let
|
||||
inherit (lib.lists) flatten foldl';
|
||||
inherit (lib.sources) cleanSourceWith cleanSource;
|
||||
inherit (lib.strings) hasSuffix;
|
||||
inherit (lib.strings) hasSuffix cmakeBool;
|
||||
|
||||
adapters = flatten [
|
||||
stdenvAdapters.useMoldLinker
|
||||
|
|
@ -48,6 +48,8 @@ in
|
|||
|
||||
cmakeBuildType = "Debug";
|
||||
|
||||
cmakeFlags = [(cmakeBool "TESTS" true)];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/hyprwm/Hyprland";
|
||||
description = "Hyprland testing framework";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue