Force the usage of crypto submodule
Remove all.sh tests exercising the optional usage of submodule
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 67da304..38991b8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,7 +9,6 @@
option(ENABLE_ZLIB_SUPPORT "Build mbed TLS with zlib library." OFF)
option(ENABLE_PROGRAMS "Build mbed TLS programs." ON)
-option(USE_CRYPTO_SUBMODULE "Build and use libmbedcrypto from the crypto submodule." ON)
option(UNSAFE_BUILD "Allow unsafe builds. These builds ARE NOT SECURE." OFF)
@@ -184,10 +183,8 @@
add_subdirectory(library)
add_subdirectory(include)
-if(USE_CRYPTO_SUBMODULE)
- add_subdirectory(crypto/library)
- add_subdirectory(crypto/include)
-endif()
+add_subdirectory(crypto/library)
+add_subdirectory(crypto/include)
if(ENABLE_PROGRAMS)
add_subdirectory(programs)
@@ -201,9 +198,7 @@
enable_testing()
add_subdirectory(tests)
- if(USE_CRYPTO_SUBMODULE)
- add_subdirectory(crypto/tests)
- endif()
+ add_subdirectory(crypto/tests)
# additional convenience targets for Unix only
if(UNIX)