Skip to content

Commit

Permalink
find deps fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ladnir committed Aug 23, 2024
1 parent bb2b61e commit 3179392
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"FETCH_AUTO": true,
"ENABLE_BOOST": true,
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
},
"vendor": {
Expand All @@ -30,6 +31,7 @@
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"ENABLE_RELIC": false,
"ENABLE_SODIUM": true,
"ENABLE_CIRCUITS": false,
"FETCH_AUTO": true,
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
Expand Down
3 changes: 3 additions & 0 deletions cmake/cryptoToolsConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ if(NOT DEFINED OC_THIRDPARTY_HINT)
set(OC_THIRDPARTY_HINT "${CMAKE_CURRENT_LIST_DIR}/../out/install/${OC_CONFIG}")
endif()


include("${CMAKE_CURRENT_LIST_DIR}/cryptoToolsFindBuildDir.cmake")
set(CMAKE_PREFIX_PATH "${CRYPTOTOOLS_BUILD_DIR}/macoro;${CMAKE_PREFIX_PATH}")
set(CMAKE_PREFIX_PATH "${CRYPTOTOOLS_BUILD_DIR}/coproto;${CMAKE_PREFIX_PATH}")
include("${CRYPTOTOOLS_BUILD_DIR}/cryptoToolsConfig.cmake")

2 changes: 2 additions & 0 deletions cmake/cryptoToolsDepHelper.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ endif()
set(PUSHED_CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH})
set(CMAKE_PREFIX_PATH "${OC_THIRDPARTY_HINT};${CMAKE_PREFIX_PATH}")

#message("OC_THIRDPARTY_HINT=${OC_THIRDPARTY_HINT}")
#message("CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}")

## Relic
###########################################################################
Expand Down
4 changes: 2 additions & 2 deletions thirdparty/getSodium.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


set(GIT_REPOSITORY https://github.com/ladnir/libsodium.git)
set(GIT_TAG "884b4d3ab22e905fad69e5f8add35a50be82c2ba" )
set(GIT_REPOSITORY https://github.com/osu-crypto/libsodium.git)
set(GIT_TAG "778c9cf491fdeeef362512fb964db0943732f275" )

set(CLONE_DIR "${OC_THIRDPARTY_CLONE_DIR}/libsodium")
set(BUILD_DIR "${CLONE_DIR}/build/${OC_CONFIG}")
Expand Down

0 comments on commit 3179392

Please sign in to comment.