Blame 0005-Avoid-target-name-collision.patch

Rex Dieter 3cbeae5
From 7b48eb334c8f02185aad2a23021e6bcf78a03e51 Mon Sep 17 00:00:00 2001
Rex Dieter 3cbeae5
From: Kevin Ottens <ervin@kde.org>
Rex Dieter 3cbeae5
Date: Mon, 20 Jul 2015 18:32:26 +0200
Rex Dieter 3cbeae5
Subject: [PATCH 5/7] Avoid target name collision
Rex Dieter 3cbeae5
Rex Dieter 3cbeae5
---
Rex Dieter 3cbeae5
 tests/CMakeLists.txt | 2 +-
Rex Dieter 3cbeae5
 1 file changed, 1 insertion(+), 1 deletion(-)
Rex Dieter 3cbeae5
Rex Dieter 3cbeae5
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
Rex Dieter 3cbeae5
index 8372e77..1094aa3 100644
Rex Dieter 3cbeae5
--- a/tests/CMakeLists.txt
Rex Dieter 3cbeae5
+++ b/tests/CMakeLists.txt
Rex Dieter 3cbeae5
@@ -6,7 +6,7 @@ macro(KSCREEN_TESTS)
Rex Dieter 3cbeae5
         include_directories(${QT_INCLUDES} ${KDE4_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR} ${X11_Xrandr_INCLUDE_PATH})
Rex Dieter 3cbeae5
         kde4_add_unit_test(${_testname} ${_testname}.cpp ${_testname}.moc)
Rex Dieter 3cbeae5
         target_link_libraries(${_testname} ${QT_QTTEST_LIBRARY} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} kscreen)
Rex Dieter 3cbeae5
-        add_test(${_testname} ${CMAKE_CURRENT_BINARY_DIR}/${_testname})
Rex Dieter 3cbeae5
+        add_test(libkscreen-${_testname} ${CMAKE_CURRENT_BINARY_DIR}/${_testname})
Rex Dieter 3cbeae5
     endforeach(_testname)
Rex Dieter 3cbeae5
 endmacro(KSCREEN_TESTS)
Rex Dieter 3cbeae5
 
Rex Dieter 3cbeae5
-- 
Rex Dieter 3cbeae5
2.5.0
Rex Dieter 3cbeae5