diff options
author | Ilya Kitaev <mbg033@gmail.com> | 2016-05-27 10:42:31 +0300 |
---|---|---|
committer | Ilya Kitaev <mbg033@gmail.com> | 2016-05-27 10:42:31 +0300 |
commit | 7ac134254f68b7a82fdc364d0ea1a41598089eb8 (patch) | |
tree | 468ec4cd6b85c034b0485b89267f54d889e4ab3d | |
parent | cmake libutils dependency added (diff) | |
download | monero-7ac134254f68b7a82fdc364d0ea1a41598089eb8.tar.xz |
cmake: BUILD_TESTS as option explicitly; added missed dependency
-rw-r--r-- | CMakeLists.txt | 3 |
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() |