commit | 45fd0d68d9f558e43a9e95b26402d454bcb8ec6d | [log] [tgz] |
---|---|---|
author | Simon Butcher <simon.butcher@arm.com> | Fri Nov 22 16:51:41 2019 +0000 |
committer | Simon Butcher <simon.butcher@arm.com> | Fri Nov 22 16:56:17 2019 +0000 |
tree | 226625961be887b6a95f59ba96b443919b6cc3aa | |
parent | 969988718524f88e9f7e9ab955ed6eba38ae6e12 [diff] [blame] |
Add USE_TINYCRYPT build option to CMake files Adds the USE_TINYCRYPT build option to the CMake build files. Default is enabled.
diff --git a/CMakeLists.txt b/CMakeLists.txt index 746b38a..39808f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -185,7 +185,10 @@ add_subdirectory(library) add_subdirectory(include) -add_subdirectory(tinycrypt) + +if(USE_TINYCRYPT) + add_subdirectory(tinycrypt) +endif() if(ENABLE_PROGRAMS) add_subdirectory(programs)