From ae2cf2f0d1d7f2eefa0bd44e77325c8c79c2cc07 Mon Sep 17 00:00:00 2001 From: Paul-Louis Ageneau Date: Sat, 3 Apr 2021 20:56:01 +0200 Subject: [PATCH] Removed deprecated USE_JUICE CMake option --- CMakeLists.txt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d08a0d6..3c96753 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)