2024-11-01 14:10:00 +01:00
|
|
|
add_subdirectory("discord-rpc")
|
|
|
|
SET(ENABLE_PROGRAMS OFF)
|
|
|
|
SET(ENABLE_TESTING OFF)
|
|
|
|
add_subdirectory("mbedtls")
|
|
|
|
SET(CURL_USE_MBEDTLS ON)
|
2024-11-01 15:04:43 +01:00
|
|
|
SET(CURL_USE_LIBPSL OFF)
|
2024-11-01 14:10:00 +01:00
|
|
|
SET(BUILD_STATIC_LIBS ON)
|
|
|
|
SET(BUILD_SHARED_LIBS OFF)
|
|
|
|
SET(BUILD_CURL_EXE OFF)
|
|
|
|
SET(MBEDTLS_INCLUDE_DIRS ../mbedtls/include)
|
|
|
|
file(REMOVE curl/CMake/FindMbedTLS.cmake) #replace curls FindMbedTLS that expects mbedtls to be prebuilt with a dummy
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/dummy ${CMAKE_MODULE_PATH})
|
|
|
|
add_subdirectory("curl")
|