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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Jan 7 13:13:33 UTC 2011


branch "master" has been updated
       via  2bea97e25572f2b3e63606670ebb2b3b3728d312 (commit)
      from  a25745891bf9113a35b2081966fb3efdb7d68fff (commit)

Summary of changes:
 modules/pjproject.cmake |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 2bea97e25572f2b3e63606670ebb2b3b3728d312
Author: Joshua Colp <jcolp at digium.com>
Date:   Fri Jan 7 09:13:26 2011 -0400

    Link against the pjproject stuff under MSVC++ 2010 as well.

diff --git a/modules/pjproject.cmake b/modules/pjproject.cmake
index c6bcf87..b166c68 100644
--- a/modules/pjproject.cmake
+++ b/modules/pjproject.cmake
@@ -101,7 +101,7 @@ function(pjproject_link COMPONENT PJPROJECT_COMPONENT)
     else()
       target_link_libraries(${COMPONENT} "${PJPROJECT_COMPONENT}-asteriskscf")
     endif()
-  elseif(MSVC80 OR MSVC90)
+  elseif(MSVC80 OR MSVC90 OR MSVC10)
     if(${PJPROJECT_COMPONENT} STREQUAL "pjsip")
       if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86")
 	target_link_libraries(${COMPONENT} debug "pjsip-core-i386-Win32-vc8-Debug")

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


-- 
asterisk-scf/release/cmake.git



More information about the asterisk-scf-commits mailing list