diff options
| author | Ilya Kitaev <mbg033@gmail.com> | 2016-05-27 10:42:31 +0300 |
|---|---|---|
| committer | Ilya Kitaev <mbg033@gmail.com> | 2016-06-23 16:01:33 +0300 |
| commit | 653c7e38048b92538138193dfb1adba8efa280d4 (patch) | |
| tree | 2a4eed343257756e449c6dd0ddd017dbbf710787 | |
| parent | ef9a74c67e9f7f60cc1e6041ff799220b8f75f5b (diff) | |
| download | monzero-core-653c7e38048b92538138193dfb1adba8efa280d4.tar.gz monzero-core-653c7e38048b92538138193dfb1adba8efa280d4.tar.xz monzero-core-653c7e38048b92538138193dfb1adba8efa280d4.zip | |
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 9e99e5a51..084c087d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -455,6 +455,9 @@ include(version.cmake) add_subdirectory(contrib) add_subdirectory(src) + +option(BUILD_TESTS "Build tests." OFF) + if(BUILD_TESTS) add_subdirectory(tests) endif() |
