[asterisk-scf-commits] asterisk-scf/integration/slice-plugins.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Jan 6 18:18:07 UTC 2011


branch "master" has been updated
       via  00c4790440092cb608cc58f63b7335d08a84e404 (commit)
      from  a1626334e6aea8343ed69b3c25709854a56d4090 (commit)

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


- Log -----------------------------------------------------------------
commit 00c4790440092cb608cc58f63b7335d08a84e404
Author: Kevin P. Fleming <kpfleming at digium.com>
Date:   Thu Jan 6 18:18:00 2011 -0600

    Explicitly link to libraries to make Windows builds happy.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5fa164f..e698409 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -149,6 +149,8 @@ endif()
 find_ICE(3.4)
 find_ICE_CXX()
 find_ICE_CXX_library(Ice)
+find_ICE_CXX_library(IceUtil)
+find_ICE_CXX_library(Slice)
 
 message(STATUS "Include directories ${ICE_CXX_INCLUDE_DIR}")
 include_directories("${ICE_CXX_INCLUDE_DIR}")
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f68ab39..af49413 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,4 +1,5 @@
 add_library(SliceVisitorPattern SHARED SliceVisitorPattern.cpp)
+target_link_libraries(SliceVisitorPattern ${ICE_CXX_LIB_Ice} ${ICE_CXX_LIB_IceUtil} ${ICE_CXX_LIB_Slice})
 
 if(WIN32)
   get_filename_component(library_path ${ICE_CXX_LIB_DEBUG_Ice} PATH)

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


-- 
asterisk-scf/integration/slice-plugins.git



More information about the asterisk-scf-commits mailing list