aboutsummaryrefslogtreecommitdiff
path: root/DefineOptions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'DefineOptions.cmake')
-rw-r--r--DefineOptions.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/DefineOptions.cmake b/DefineOptions.cmake
index 77808276..eb60b097 100644
--- a/DefineOptions.cmake
+++ b/DefineOptions.cmake
@@ -16,6 +16,8 @@ option(SERVER_TESTING "Build with server tests; requires openssh and dropbear" O
option(WITH_BENCHMARKS "Build benchmarks tools" OFF)
option(WITH_EXAMPLES "Build examples" ON)
option(WITH_NACL "Build with libnacl (curve25519)" ON)
+option(WITH_SYMBOL_VERSIONING "Build with symbol versioning" ON)
+option(WITH_ABI_BREAK "Allow ABI break" OFF)
option(FUZZ_TESTING "Build with fuzzer for the server" OFF)
if (WITH_ZLIB)
set(WITH_LIBZ ON)
@@ -34,3 +36,7 @@ endif (UNIT_TESTING)
if (WITH_NACL)
set(WITH_NACL ON)
endif (WITH_NACL)
+
+if (WITH_ABI_BREAK)
+ set(WITH_SYMBOL_VERSIONING ON)
+endif (WITH_ABI_BREAK)