include_guard(GLOBAL) block() rcl_init(render_kernel) set(oneTBB_option ${base_options}) list(APPEND oneTBB_option -DBUILD_SHARED_LIBS=ON -DTBB_BUILD=ON -DTBB_INSTALL=ON -DTBB_TEST=OFF -DTBB_EXAMPLES=OFF -DTBB_STRICT=OFF -DTBB4PY_BUILD=OFF -DTBBMALLOC_BUILD=ON -DTBBMALLOC_PROXY_BUILD=ON ) _register_git_cmake_library(render_kernel::oneTBB "https://github.com/uxlfoundation/oneTBB.git" "v2023.1.0" ) rcl_get_effective_install_dir(render_kernel::oneTBB ONETBB_ROOT) set(TBB_CONFIG_DIR "${ONETBB_ROOT}/lib/cmake/TBB") rcl_cmake_library_set_cmake_options(render_kernel::oneTBB ${oneTBB_option}) rcl_cmake_library_set_other_use_opt(render_kernel::oneTBB "-DTBB_DIR=\"${TBB_CONFIG_DIR}\"" ) rcl_cmake_library_set_init_script(render_kernel::oneTBB "set(ONETBB_ROOT \"${ONETBB_ROOT}\")" "set(TBB_DIR \"${TBB_CONFIG_DIR}\")" ) rcl_cmake_library_set_clear_script(render_kernel::oneTBB "unset(ONETBB_ROOT)" "unset(TBB_DIR)" ) rcl_export_configuration(render_kernel) endblock() block() set(libdatachannel_option ${base_options}) list(APPEND libdatachannel_option -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DUSE_GNUTLS=OFF -DUSE_NICE=OFF -DUSE_NATPMP=OFF -DUSE_CLI=OFF -DBUILD_SHARED_LIBS=OFF -DNO_EXAMPLES=ON -DNO_TESTS=ON -DLIBDATACHANNEL_STATIC=ON ) _register_git_cmake_library(aethera_kernel::libdatachannel "https://github.com/paullouisageneau/libdatachannel.git" "v0.22.2" ) rcl_get_effective_install_dir( aethera_kernel::libdatachannel LIBDATACHANNEL_ROOT ) set(libdatachannel_DIR "${LIBDATACHANNEL_ROOT}/lib/cmake/libdatachannel" ) rcl_cmake_library_set_cmake_options( aethera_kernel::libdatachannel ${libdatachannel_option} ) rcl_cmake_library_set_other_use_opt( aethera_kernel::libdatachannel "-Dlibdatachannel_DIR=\"${libdatachannel_DIR}\"" ) rcl_cmake_library_set_init_script( aethera_kernel::libdatachannel "set(LIBDATACHANNEL_ROOT \"${LIBDATACHANNEL_ROOT}\")" "set(libdatachannel_DIR \"${libdatachannel_DIR}\")" ) rcl_cmake_library_set_clear_script( aethera_kernel::libdatachannel "unset(LIBDATACHANNEL_ROOT)" "unset(libdatachannel_DIR)" ) rcl_export_configuration(aethera_kernel) endblock()