Skip to content

Commit

Permalink
proper config
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavrax committed Mar 27, 2024
1 parent 9e762ee commit 14b15d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion unreal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ cmake . && make
C-core offers some customization flags (e.g. shared library or using openssl). You can configure that as follow:

```sh
cmake . -DSHARED=ON -DOPENSSL=ON -DOPENSSL_ROOT_DIR={unreal engine location}/Engine/Source/ThirdParty/openssl/1.1.1/
cmake . -DSHARED=ON -DOPENSSL=ON -DOPENSSL_ROOT_DIR={unreal engine location}/Engine/Source/ThirdParty/openssl/1.1.1x/ -DCUSTOM_OPENSSL_LIB_DIR=lib/XXX/ -DCUSTOM_OPENSSL_INCLUDE_DIR=include/XXX/
```

where x is UE's version and XXX is your desired architecture.

3. Adjust `PubNubModule/PubNubModule.Build.cs` with selected options by changing `OpenSsl`, `StaticLink` and `BuildLocation` with the same values you used for compilation.

Expand Down

0 comments on commit 14b15d5

Please sign in to comment.