You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting_started/setup/linux.md
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,24 @@ You can also download the `crow_all.h` file and simply include that into your pr
49
49
the `CROW_ENABLE_SSL` variable to enable the support for https
50
50
the `CROW_ENABLE_COMPRESSION` variable to enable the support for http compression
51
51
52
+
!!! note
53
+
54
+
By default, Crow sets `CROW_ENABLE_SSL=true` and `CROW_ENABLE_COMPRESSION=true` for CMake builds. You must call `find_package` and manually link with these libraries in your build if you keep these defaults.
55
+
56
+
57
+
```
58
+
find_package(OpenSSL REQUIRED)
59
+
find_package(ZLIB REQUIRED)
60
+
61
+
target_link_libraries(main
62
+
PRIVATE
63
+
OpenSSL::SSL
64
+
OpenSSL::Crypto
65
+
ZLIB::ZLIB
66
+
Crow::Crow
67
+
)
68
+
```
69
+
52
70
!!! note
53
71
54
72
You can uninstall Crow at a later time using `make uninstall`.
0 commit comments