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: BUILDING_WINDOWS_MANUAL.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,14 @@ easier. Be sure to pick the installers **without** the "Light"suffix. In this in
48
48
For CMake to find the libraries, you may need to set the environment variable
49
49
`OPENSSL_ROOT_DIR`.
50
50
51
+
If you are linking statically with OpenSSL you will need to set `OPENSSL_USE_STATIC_LIBS` to `ON`.
52
+
`OPENSSL_MSVC_STATIC_RT` is automatically matched to the value of `MSVC_CRT_STATIC`.
53
+
54
+
Both need to be set before any calls to `find_package(OpenSSL REQUIRED)` because CMake caches the paths to libraries.
55
+
When building GameNetworkingSockets by itself it is sufficient to set these variables on the command line or in the GUI before first configuration.
56
+
57
+
See the documentation for [FindOpenSSL](https://cmake.org/cmake/help/latest/module/FindOpenSSL.html) for more information about CMake variables involing OpenSSL.
58
+
51
59
#### Protobuf
52
60
53
61
Instructions for getting a working installation of google protobuf on Windows can
0 commit comments