contrib/cmake: add apr apr-util, and curl into makefile

This commit is contained in:
Minglei Jin 2023-08-09 11:14:00 +08:00
parent 57ba106371
commit 398567ef4c
1 changed files with 3 additions and 0 deletions

View File

@ -125,6 +125,9 @@ endif(${BUILD_WITH_SQLITE})
# cos # cos
if(${BUILD_WITH_COS}) if(${BUILD_WITH_COS})
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/build/) file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/build/)
cat("${TD_SUPPORT_DIR}/apr_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})
cat("${TD_SUPPORT_DIR}/apr-util_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})
cat("${TD_SUPPORT_DIR}/curl_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})
cat("${TD_SUPPORT_DIR}/mxml_CMakeLists.txt.in" ${CONTRIB_TMP_FILE}) cat("${TD_SUPPORT_DIR}/mxml_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})
cat("${TD_SUPPORT_DIR}/cos_CMakeLists.txt.in" ${CONTRIB_TMP_FILE}) cat("${TD_SUPPORT_DIR}/cos_CMakeLists.txt.in" ${CONTRIB_TMP_FILE})
add_definitions(-DUSE_COS) add_definitions(-DUSE_COS)