From d630284b10090efa7937b7d7bb1cf7e867714b93 Mon Sep 17 00:00:00 2001 From: Florian Meinicke Date: Thu, 10 Sep 2020 16:05:36 +0200 Subject: [PATCH] Update README with CMake build instructions --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 6a9c9c0..6847cd8 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,10 @@ QZeroConf can be built directly into your project if your project is [LGPL3](htt 1. Clone or download QZeroConf. If you download, unzip. 2. Enter the qtzeroconf directory, run qmake and then make. +#### Building with CMake +Use `BUILD_SHARED_LIBS` to control whether QZeroConf should be built as static (`-DBUILD_SHARED_LIBS=OFF`) or as shared (`-DBUILD_SHARED_LIBS=ON`) library. +The default is `OFF`. + ### API #### Service Publishing