Intel Paillier Cryptosystem Library is an open-source library which provides accelerated performance of a partial homomorphic encryption (HE), named Paillier cryptosystem, by utilizing Intel® IPP-Crypto on AVX512IFMA instructions. Intel Paillier Cryptosystem Library is certified for ISO compliance.
Apache License 2.0
73
stars
18
forks
source link
find_package(IPCL) does not work without installation #69
Assuming cmake -S . -B build ..., without installation, find_package(IPCL HINTS ${IPCL}/cmake/ipcl-2.0.0) can find cmake/ipcl-2.0.0/IPCLConfig.cmake. Then IPCLConfig.cmake points to non-existing IPCLConfigVersion.cmake and IPCLTargets.cmake files that are instead generated to build/ipcl/cmake/ipcl-2.0.0/.
Replacing IPCL_ROOT_DIR on this line by CMAKE_CURRENT_BINARY_DIR should fix the issue.
Assuming
cmake -S . -B build ...
, without installation,find_package(IPCL HINTS ${IPCL}/cmake/ipcl-2.0.0)
can findcmake/ipcl-2.0.0/IPCLConfig.cmake
. ThenIPCLConfig.cmake
points to non-existingIPCLConfigVersion.cmake
andIPCLTargets.cmake
files that are instead generated tobuild/ipcl/cmake/ipcl-2.0.0/
.Replacing
IPCL_ROOT_DIR
on this line byCMAKE_CURRENT_BINARY_DIR
should fix the issue.