From a0351b722ae0bdbc5ed44eeab21daa230362f6e8 Mon Sep 17 00:00:00 2001
From: Timo Dritschler <timo.dritschler@kit.edu>
Date: Fri, 21 Nov 2014 14:11:27 +0100
Subject: Fix #5: Changed build process to use ConfigurePaths instead of static
 paths

---
 test/CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'test')

diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index a3f7777..35b0531 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -7,9 +7,9 @@ pkg_check_modules(SDL sdl>=1.2.15)
 if (SDL_FOUND)
    add_executable(kiro-client-sdl test-client.c)
    target_link_libraries(kiro-client-sdl kiro SDL m gobject-2.0 glib-2.0)
-   install(TARGETS kiro-client-sdl RUNTIME DESTINATION bin)
+   install(TARGETS kiro-client-sdl RUNTIME DESTINATION ${KIRO_BINDIR})
 else ()
-   message("SDL not found: Won't build KIRO test-client-sdl binary.")
+   message("SDL not found: Won't build kiro-client-sdl binary.")
 endif ()
 
 add_executable(kiro-test-latency test-client-latency.c)
@@ -20,4 +20,4 @@ add_executable(kiro-server test-server.c)
 target_link_libraries(kiro-server kiro gobject-2.0 glib-2.0)
 
 install(TARGETS kiro-test-bandwidth kiro-test-latency kiro-server
-    RUNTIME DESTINATION bin)
+    RUNTIME DESTINATION ${KIRO_BINDIR})
-- 
cgit v1.2.3