From 53deed298facc005f71e9ec2a96d5c4e90d826af Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Sat, 15 Oct 2016 17:11:08 +0200 Subject: Added documentation and minor refactoring for the recent support of static library compilation --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 33282d8f..a88f5ce1 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,10 @@ A custom installation folder can be specified when calling CMake: cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/directory .. +Building a static version of the library instead of shared one (.dylib/.so/.dll) can be done by disabling the `BUILD_SHARED_LIBS` option when calling CMake. For example: + + cmake -DBUILD_SHARED_LIBS=OFF .. + Using the library ------------- -- cgit v1.2.3