Changeset 1055:05c1d7eaaaa0 in mediastreamer2


Ignore:
Timestamp:
Sep 7, 2010 11:13:06 AM (3 years ago)
Author:
Nikita Kozlov <nikita@…>
Branch:
default
Message:

adding speexdsp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CMakeLists.txt

    r1008 r1055  
    3232endif(WIN32) 
    3333 
    34 find_file(GSM_GSM_H gsm/gsm.h) 
     34find_file(GSM_GSM_H gsm/gsm.h PATHS ${GSM_INCLUDE_PATH}) 
    3535if(GSM_GSM_H) 
    3636  find_library(GSM_LIB gsm) 
     
    4646endif(GSM_LIB) 
    4747 
    48 find_file(SPEEX_H speex/speex.h) 
     48find_file(SPEEX_H speex/speex.h PATHS ${SPEEX_INCLUDE_DIRS}) 
    4949if(SPEEX_H) 
    50   find_library(SPEEX_LIB speex) 
    51   find_library(SPEEXDSP_LIB speexdsp) 
     50  set(MS_LIBS  ${MS_LIBS} ${SPEEX_LIBRARIES} ${SPEEXDSP_LIBRARIES}) 
     51  set(MS_SRCS ${MS_SRCS} msspeex.c msresample.c) 
     52  include_directories(${SPEEX_INCLUDE_DIRS}) 
    5253endif(SPEEX_H) 
    53  
    54 if(SPEEX_LIB) 
    55   set(MS_LIBS  ${MS_LIBS} ${SPEEX_LIB} ${SPEEXDSP_LIB}) 
    56   set(MS_SRCS ${MS_SRCS} msresample.c msspeex.c) 
    57 endif(SPEEX_LIB) 
    5854 
    5955 
Note: See TracChangeset for help on using the changeset viewer.