Commit a362bdc
committed
abort on CMake install w/ clear error
This updates the librustls CMakeLists.txt to abort on install. It's only
intended to be used for the C examples, which we _don't_ want anyone to
install anywhere!
Use cargo capi for librustls, not cmake.
```
$ cmake --install build
-- Install configuration: "Release"
CMake Error at build/cmake_install.cmake:46 (message):
librustls installation via CMake is not supported. Use 'cargo capi
install' instead.
See:
https://github.com/rustls/rustls-ffi?tab=readme-ov-file#build-rustls-ffi
```1 parent ff72516 commit a362bdc
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| |||
0 commit comments