From df820b0e961e984b6c42392c376d1ce7cf4110bc Mon Sep 17 00:00:00 2001
From: samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Date: Thu, 10 Mar 2011 09:58:07 +0000
Subject: [dependencies/arts] installing artsdsp

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1224388 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
---
 artsc/CMakeLists.txt | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/artsc/CMakeLists.txt b/artsc/CMakeLists.txt
index 9187ae5..8ae4793 100644
--- a/artsc/CMakeLists.txt
+++ b/artsc/CMakeLists.txt
@@ -9,6 +9,9 @@
 #
 #################################################
 
+add_definitions( -DCOMPILING_ARTSC )
+
+
 ##### variables for artsc-config ################
 
 set( prefix ${CMAKE_INSTALL_PREFIX} )
@@ -27,13 +30,13 @@ foreach( INC ${GTHREAD2_INCLUDE_DIRS} )
 endforeach(INC)
 
 configure_file( artsc-config.in artsc-config @ONLY )
+configure_file( artsdsp.in artsdsp @ONLY )
 configure_file( artsc_export.h.in artsc_export.h @ONLY )
-install( PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/artsc-config DESTINATION ${BIN_INSTALL_DIR} )
-
-add_definitions(
-  -DCOMPILING_ARTSC
-)
 
+install( PROGRAMS
+    ${CMAKE_CURRENT_BINARY_DIR}/artsdsp
+    ${CMAKE_CURRENT_BINARY_DIR}/artsc-config
+  DESTINATION ${BIN_INSTALL_DIR} )
 
 ##### include paths #############################
 
@@ -56,6 +59,8 @@ include_directories(
 #  DESTINATION ${INCLUDE_INSTALL_DIR} )
 
 
+
+
 ##### artsdsp (shared lib) ######################
 
 tde_add_library( artsdsp SHARED
-- 
cgit v1.2.3

