Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
cryptocurrency
bls-dash
bls-dash-system-sodium.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bls-dash-system-sodium.patch of Package bls-dash
From 311c6bc004fef2c204ae7710f1798e841fd028ff Mon Sep 17 00:00:00 2001 From: Oleg Girko <ol@infoserver.lv> Date: Fri, 26 Aug 2022 00:03:56 +0300 Subject: [PATCH] Use system sodium library. Signed-off-by: Oleg Girko <ol@infoserver.lv> --- CMakeLists.txt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6922167..db9636b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,16 +30,12 @@ set(CMAKE_MODULE_PATH include(FetchContent) -FetchContent_Declare(Sodium - GIT_REPOSITORY https://github.com/AmineKhaldi/libsodium-cmake.git - # Latest commit at the moment this was added here - # Anchored to libsodium v1.0.18 - GIT_TAG f73a3fe1afdc4e37ac5fe0ddd401bf521f6bba65 -) +find_package(PkgConfig REQUIRED) +pkg_check_modules(SODIUM REQUIRED libsodium) + set(SODIUM_PCH "on" CACHE STRING "") set(SODIUM_DISABLE_TESTS "on" CACHE STRING "") set(SODIUM_CHIA_MINIMAL "on" CACHE STRING "") -FetchContent_MakeAvailable(Sodium) if (DEFINED ENV{RELIC_MAIN}) set(RELIC_GIT_TAG "origin/main") -- 2.37.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor