forked from Mirrors/freeswitch
Use included apr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12006 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
314da792ca
commit
8cf1c55410
|
@ -16,7 +16,10 @@ ENDIF(Subversion_FOUND)
|
||||||
SET( ${PROJECT_NAME}_MAJOR_VERSION 0 )
|
SET( ${PROJECT_NAME}_MAJOR_VERSION 0 )
|
||||||
SET( ${PROJECT_NAME}_MINOR_VERSION 1 )
|
SET( ${PROJECT_NAME}_MINOR_VERSION 1 )
|
||||||
SET( ${PROJECT_NAME}_PATCH_LEVEL 0 )
|
SET( ${PROJECT_NAME}_PATCH_LEVEL 0 )
|
||||||
SET( ${SWITCH_VERSION_REVISION}$Project_WC_REVISION)
|
|
||||||
|
|
||||||
|
ADD_DEFINITIONS( "-DSWITCH_VERSION_REVISION=${Project_WC_REVISION}" )
|
||||||
|
|
||||||
|
|
||||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules/")
|
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules/")
|
||||||
INCLUDE (CheckSymbolExists)
|
INCLUDE (CheckSymbolExists)
|
||||||
|
@ -125,16 +128,20 @@ FIND_PACKAGE(Threads)
|
||||||
|
|
||||||
|
|
||||||
# DO APR
|
# DO APR
|
||||||
FIND_PACKAGE (APR)
|
#FIND_PACKAGE (APR)
|
||||||
FIND_PACKAGE (APRUtil)
|
#FIND_PACKAGE (APRUtil)
|
||||||
|
|
||||||
|
#LINK_LIBRARIES (${APR_LIBS} ${APRUTIL_LIBS})
|
||||||
|
LINK_LIBRARIES (${CMAKE_SOURCE_DIR}/libs/apr/.libs/libapr-1.a)
|
||||||
|
LINK_LIBRARIES (${CMAKE_SOURCE_DIR}/libs/apr-util/.libs/libaprutil-1.a)
|
||||||
|
|
||||||
|
|
||||||
LINK_LIBRARIES (${APR_LIBS} ${APRUTIL_LIBS})
|
|
||||||
|
|
||||||
MESSAGE( STATUS "APR INFO------------------------------------------" )
|
MESSAGE( STATUS "APR INFO------------------------------------------" )
|
||||||
MESSAGE( STATUS "APR_LIBS = ${APR_LIBS}" )
|
MESSAGE( STATUS "APR_LIBS = ${APR_LIBS}" )
|
||||||
MESSAGE( STATUS "APRUTIL_LIBS = ${APRUTIL_LIBS}" )
|
MESSAGE( STATUS "APRUTIL_LIBS = ${APRUTIL_LIBS}" )
|
||||||
MESSAGE( STATUS "--------------------------------------------------" )
|
MESSAGE( STATUS "--------------------------------------------------" )
|
||||||
INCLUDE_DIRECTORIES (${APR_INCLUDES} ${APRUTIL_INCLUDES})
|
#INCLUDE_DIRECTORIES (${APR_INCLUDES} ${APRUTIL_INCLUDES})
|
||||||
|
|
||||||
|
|
||||||
# DO SNDFILE
|
# DO SNDFILE
|
||||||
|
|
Loading…
Reference in New Issue