@@ -65,18 +65,19 @@ liboqs' library directory, e.g.,
65
65
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :/usr/local/lib
66
66
```
67
67
68
- On Windows platforms, ** you must ensure** that the liboqs shared library
69
- ` oqs.dll ` is visible system-wide, and that the following environment variable
70
- are being set. Use the "Edit the system environment variables" Control Panel
71
- tool or execute in a Command Prompt, e.g.,
68
+ On Windows platforms, ** you must ensure** that you add the
69
+ ` -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE ` flag to CMake, and that the liboqs
70
+ shared library ` oqs.dll ` is visible system-wide, i.e., set the ` PATH `
71
+ environment variable accordingly by using the "Edit the system environment
72
+ variables" Control Panel tool or executing in a Command Prompt
72
73
73
74
``` shell
74
75
set PATH=%PATH%; C:\P rogram Files (x86)\l iboqs\b in
75
76
```
76
77
77
78
You can change liboqs' installation directory by configuring the build to use
78
- an alternative path, e.g., ` C:\liboqs ` , by replacing the first CMake line above
79
- by
79
+ an alternative path, e.g., ` C:\liboqs ` , by passing the
80
+ ` -DCMAKE_INSTALL_PREFIX=/path/to/liboqs ` flag to CMake, e.g.,
80
81
81
82
``` shell
82
83
cmake -S liboqs -B liboqs/build -DCMAKE_INSTALL_PREFIX=" C:\liboqs" -DBUILD_SHARED_LIBS=ON
0 commit comments