aboutsummaryrefslogtreecommitdiff
path: root/cmake/NNGOptions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/NNGOptions.cmake')
-rw-r--r--cmake/NNGOptions.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/NNGOptions.cmake b/cmake/NNGOptions.cmake
index 6335fc63..abb3f03d 100644
--- a/cmake/NNGOptions.cmake
+++ b/cmake/NNGOptions.cmake
@@ -39,6 +39,11 @@ option(NNG_ENABLE_COVERAGE "Enable coverage reporting." OFF)
# for the public library.
option(NNG_ELIDE_DEPRECATED "Elide deprecated functionality." OFF)
+# Turning off the compatibility layer can save some space, and
+# compilation time, but may break legacy applications It should
+# be left enabled when building a shared library.
+option(NNG_ENABLE_COMPAT "Enable legacy nanomsg API." ON)
+
option(NNG_ENABLE_STATS "Enable statistics." ON)
mark_as_advanced(NNG_ENABLE_STATS)