[asterisk-scf-commits] asterisk-scf/release/cmake.git branch "ice-package" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Jan 17 15:47:34 CST 2011


branch "ice-package" has been updated
       via  0d87aec41cd0184df2f383c0893a24e11691646d (commit)
      from  88834d12a56b452088360af292c10a2c939d96b3 (commit)

Summary of changes:
 AsteriskSCF.cmake |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 0d87aec41cd0184df2f383c0893a24e11691646d
Author: Kevin P. Fleming <kpfleming at digium.com>
Date:   Mon Jan 17 15:47:31 2011 -0600

    Set CMAKE_DEBUG_POSTFIX in the cache.

diff --git a/AsteriskSCF.cmake b/AsteriskSCF.cmake
index 0ebb3d6..0cbc3eb 100644
--- a/AsteriskSCF.cmake
+++ b/AsteriskSCF.cmake
@@ -151,7 +151,8 @@ endmacro()
 # Function which initializes project specific things
 function(asterisk_scf_project NAME ICE_VERSION)
     message(STATUS "Setting up project ${NAME} for Ice version ${ICE_VERSION}")
-    project(${NAME} CXX)
+    project("${NAME}" CXX)
+
     # On Windows, IceBox C++ services must be compiled with some symbols exported;
     # the source code should use ASTERISK_SCF_ICEBOX_EXPORT to accomplish this, and this
     if(WIN32)
@@ -160,11 +161,13 @@ function(asterisk_scf_project NAME ICE_VERSION)
     else()
         add_definitions(-DASTERISK_SCF_ICEBOX_EXPORT=)
     endif()
+
     # On Windows, 'debug' libraries should have a "d" suffix to indicate that they
     # are debug libraries
     if(WIN32)
-        set(CMAKE_DEBUG_POSTFIX "d" PARENT_SCOPE)
+        set_cache_var(CMAKE_DEBUG_POSTFIX "d")
     endif()
+
     message(STATUS "Performing requirement checks for components")
     find_package(Ice 3.4 REQUIRED Ice IceUtil)
     # All components need the Ice library, and it needs the

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


-- 
asterisk-scf/release/cmake.git



More information about the asterisk-scf-commits mailing list