forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.11, Repoman-2.3.3
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
From 89db55c3983abee3dd42cef3cff2f83e94121be8 Mon Sep 17 00:00:00 2001 | ||
From: Andreas Sturmlechner <[email protected]> | ||
Date: Thu, 14 Sep 2017 10:02:04 +0200 | ||
Subject: [PATCH] Put effectModelTest behind BUILD_TESTING conditional | ||
|
||
Qt5Test, so tests need to be too. | ||
--- | ||
kcmkwin/kwincompositing/CMakeLists.txt | 3 ++- | ||
1 file changed, 2 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/kcmkwin/kwincompositing/CMakeLists.txt b/kcmkwin/kwincompositing/CMakeLists.txt | ||
index 350ef85de..75758a4a0 100644 | ||
--- a/kcmkwin/kwincompositing/CMakeLists.txt | ||
+++ b/kcmkwin/kwincompositing/CMakeLists.txt | ||
@@ -46,7 +46,7 @@ target_link_libraries(kwincompositing | ||
kwin4_effect_builtins | ||
) | ||
|
||
- | ||
+if(BUILD_TESTING) | ||
set(modelTest_SRC | ||
model.cpp | ||
effectconfig.cpp | ||
@@ -77,6 +77,7 @@ target_link_libraries(effectModelTest | ||
kwineffects | ||
kwin4_effect_builtins | ||
) | ||
+endif() | ||
|
||
INSTALL(DIRECTORY qml DESTINATION ${DATA_INSTALL_DIR}/kwincompositing) | ||
INSTALL(TARGETS kwincompositing DESTINATION ${PLUGIN_INSTALL_DIR}) | ||
-- | ||
2.13.5 | ||
|