aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-05-27 10:42:31 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-05-27 10:42:31 +0300
commit7ac134254f68b7a82fdc364d0ea1a41598089eb8 (patch)
tree468ec4cd6b85c034b0485b89267f54d889e4ab3d
parentcmake libutils dependency added (diff)
downloadmonero-7ac134254f68b7a82fdc364d0ea1a41598089eb8.tar.xz
cmake: BUILD_TESTS as option explicitly; added missed dependency
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9674404bb..c375defe6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -436,6 +436,9 @@ include(version.cmake)
add_subdirectory(contrib)
add_subdirectory(src)
+
+option(BUILD_TESTS "Build tests." OFF)
+
if(BUILD_TESTS)
add_subdirectory(tests)
endif()