From 1410797d6f0f73086efe2ec68cff9ffde39af27f Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Mon, 22 Mar 2021 08:51:58 -0700 Subject: [PATCH] document -DBUILD_DEMO=ON --- README.md | 2 ++ main.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index eeeb6d2f..a06e8359 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ A bad security bug affecting users compiling with SSL enabled and OpenSSL as the * $ mkdir -p build ; (cd build ; cmake -DUSE_TLS=1 .. ; make -j ; make install) * $ clang++ --std=c++11 --stdlib=libc++ main.cpp -lixwebsocket -lz -framework Security -framework Foundation * $ ./a.out + * + * Or use cmake -DBUILD_DEMO=ON option for other platforms */ #include diff --git a/main.cpp b/main.cpp index bfef655f..31785992 100644 --- a/main.cpp +++ b/main.cpp @@ -9,6 +9,8 @@ * $ mkdir -p build ; cd build ; cmake -DUSE_TLS=1 .. ; make -j ; make install * $ clang++ --std=c++14 --stdlib=libc++ main.cpp -lixwebsocket -lz -framework Security -framework Foundation * $ ./a.out + * + * Or use cmake -DBUILD_DEMO=ON option for other platform */ #include