mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-22 15:15:28 +00:00
Removed deprecated USE_JUICE CMake option
This commit is contained in:
@ -15,12 +15,6 @@ option(NO_TESTS "Disable tests build" OFF)
|
||||
option(WARNINGS_AS_ERRORS "Treat warnings as errors" OFF)
|
||||
option(CAPI_STDCALL "Set calling convention of C API callbacks stdcall" OFF)
|
||||
|
||||
if(USE_NICE)
|
||||
option(USE_JUICE "Use libjuice" OFF)
|
||||
else()
|
||||
option(USE_JUICE "Use libjuice" ON)
|
||||
endif()
|
||||
|
||||
if(USE_GNUTLS)
|
||||
option(USE_NETTLE "Use Nettle in libjuice" ON)
|
||||
else()
|
||||
@ -294,7 +288,7 @@ else()
|
||||
target_link_libraries(datachannel-static PRIVATE OpenSSL::SSL)
|
||||
endif()
|
||||
|
||||
if (USE_NICE OR NOT USE_JUICE)
|
||||
if (USE_NICE)
|
||||
find_package(LibNice REQUIRED)
|
||||
target_compile_definitions(datachannel PRIVATE USE_NICE=1)
|
||||
target_compile_definitions(datachannel-static PRIVATE USE_NICE=1)
|
||||
|
Reference in New Issue
Block a user