-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable
LIBOQS_DIR
as cache entry and environment variable.
Fix #273 `liboqs_DIR` is a CMake cache entry to hint CMake about the location of liboqs CMake package. However, being able to use `LIBOQS_DIR` (full capitalized) would be more convenient. This PR adds the ability to use either `liboqs_DIR` as a cache entry, `liboqs_DIR` as an environment variable, `LIBOQS_DIR` as a cache entry and `LIBOQS_DIR` as an env variable. Tests were also added to make sure that these variables are well taken by CMake during the configuration stage.
- Loading branch information
thb-sb
committed
Oct 6, 2023
1 parent
5fd47f9
commit 7c39459
Showing
2 changed files
with
122 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters