Nettle is a direct dependency of rhonabwy since it is directly used in
jwe.c. Therefore I added the find_package code for nettle.
I copied FindNettle.cmake from your other project iddawc.
The include directories of orcania and yder were not added to the
include list when the libraries were found.
This commit fixes my issues described in https://github.com/babelouest/rhonabwy/issues/12 almost completely.
I still have to add the include directory of the gmp library to the resulting makefiles.
This because nettle includes gmp.h in a public header file (nettle/bignum.h).
Nettle is a direct dependency of rhonabwy since it is directly used in jwe.c. Therefore I added the find_package code for nettle.
I copied FindNettle.cmake from your other project
iddawc
.The include directories of orcania and yder were not added to the include list when the libraries were found.
This commit fixes my issues described in https://github.com/babelouest/rhonabwy/issues/12 almost completely. I still have to add the include directory of the gmp library to the resulting makefiles. This because nettle includes gmp.h in a public header file (nettle/bignum.h).