[asterisk-scf-commits] asterisk-scf/release/sip.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Jan 20 13:05:35 CST 2011


branch "master" has been updated
       via  94fbff7a05572c610bcf98bca77a9a8ec8afa4b8 (commit)
      from  404f958889ea1cc8aaa8e08babd16e1aa798e3b9 (commit)

Summary of changes:
 src/CMakeLists.txt |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)


- Log -----------------------------------------------------------------
commit 94fbff7a05572c610bcf98bca77a9a8ec8afa4b8
Author: David M. Lee <dlee at digium.com>
Date:   Thu Jan 20 12:33:27 2011 -0600

    Refactored out several install functions for installation.
    
    * asterisk_scf_component_install - Install a component
    * asterisk_scf_slice_headers_install - Install generated .h files
    * asterisk_scf_slice_install - Install .ice files

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 26732f6..d03df8c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -51,9 +51,7 @@ pjproject_link(SipSessionManager pjmedia)
 pjproject_link(SipSessionManager pjlib-util)
 pjproject_link(SipSessionManager pjlib)
 
-install(TARGETS SipSessionManager
-    LIBRARY DESTINATION ${ASTERISK_SCF_INSTALL_ICEBOX_DIR}
-    RUNTIME DESTINATION ${ASTERISK_SCF_INSTALL_ICEBOX_DIR})
+asterisk_scf_component_install(SipSessionManager)
 
 asterisk_scf_component_init(SipStateReplicator CXX)
 
@@ -80,6 +78,4 @@ asterisk_scf_component_build_icebox(SipStateReplicator)
 target_link_libraries(SipStateReplicator logging-client)
 target_link_libraries(SipStateReplicator asterisk-scf-api)
 
-install(TARGETS SipStateReplicator
-    LIBRARY DESTINATION ${ASTERISK_SCF_INSTALL_ICEBOX_DIR}
-    RUNTIME DESTINATION ${ASTERISK_SCF_INSTALL_ICEBOX_DIR})
+asterisk_scf_component_install(SipStateReplicator)

-----------------------------------------------------------------------


-- 
asterisk-scf/release/sip.git



More information about the asterisk-scf-commits mailing list