From 824afd167a52dfc3b39d96ebae1c91a5c69d4099 Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 27 Aug 2018 11:40:03 -0400 Subject: ... --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6bcf5f0..614e328 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,10 @@ add_library(salticidae_static STATIC $) set_target_properties(salticidae_static PROPERTIES OUTPUT_NAME "salticidae") target_link_libraries(salticidae_static event crypto) -add_subdirectory(test) +option(BUILD_TEST "build test binaries." OFF) +if(BUILD_TEST) + add_subdirectory(test) +endif() if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) set(CMAKE_BUILD_TYPE "Release") -- cgit v1.2.3