Closed maroueneboubakri closed 4 months ago
Also kindly keep consider naming liboqsprovider.a
for static library to ease linking against it with gcc -loqsprovider
instead of providing path to to oqsprovider.a
.
Hi @maroueneboubakri, thank you for raising that issue.
Actually, you should be able to get your oqsprovider.a
installed under your ${CMAKE_INSTALL_PREFIX}
by using Debug
or Release
build type:
With an empty ${CMAKE_BUILD_TYPE}
it installs nothing though.
I fixed this odd behavior, and I renamed oqsprovider.a
to liboqsprovider.a
(only if you build it statically) in https://github.com/open-quantum-safe/oqs-provider/pull/441.
I also added a CI test for it.
Hello,
The provider could be used as standalone library to be statically linked with a binary. Therefore, it makes sense that
cmake --install
orcmake --build . --target install
installs the static library intolib
folder. While nothing happens when those are invoked.Kindly consider this use case.
Br Maro