Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/CMakeLists.txt')
-rw-r--r--crypto/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index ccbe60c7..23a1a505 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -138,7 +138,9 @@ add_subdirectory(x509v3)
add_subdirectory(pkcs8)
# Test support code
+if(ENABLE_TESTS)
add_subdirectory(test)
+endif()
set(
crypto_objects_dependencies
@@ -268,6 +270,7 @@ if(NOT MSVC AND NOT ANDROID)
target_link_libraries(crypto pthread)
endif()
+if(ENABLE_TESTS)
add_executable(
constant_time_test
@@ -298,3 +301,4 @@ add_executable(
target_link_libraries(refcount_test crypto)
add_dependencies(all_tests refcount_test)
+endif()