summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-10-15 17:11:08 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-10-15 17:11:08 +0200
commit53deed298facc005f71e9ec2a96d5c4e90d826af (patch)
tree7986ea51a732750bc84982fa0fde25b539a9b79b /README.md
parenta63f57297b8bcce88084acd31c2a82353fdc9052 (diff)
Added documentation and minor refactoring for the recent support of static library compilation
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
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
-------------