diff --git a/Externals/mbedtls/library/CMakeLists.txt b/Externals/mbedtls/library/CMakeLists.txt index 5ee394ac5c..22b8b1a711 100644 --- a/Externals/mbedtls/library/CMakeLists.txt +++ b/Externals/mbedtls/library/CMakeLists.txt @@ -146,7 +146,7 @@ if(USE_SHARED_MBEDTLS_LIBRARY) target_link_libraries(mbedtls ${libs} mbedx509) endif(USE_SHARED_MBEDTLS_LIBRARY) -add_custom_target(lib DEPENDS mbedcrypto mbedx509 mbedtls) -if(USE_STATIC_MBEDTLS_LIBRARY AND USE_SHARED_MBEDTLS_LIBRARY) - add_dependencies(lib mbedcrypto_static mbedx509_static mbedtls_static) -endif() +#add_custom_target(lib DEPENDS mbedcrypto mbedx509 mbedtls) +#if(USE_STATIC_MBEDTLS_LIBRARY AND USE_SHARED_MBEDTLS_LIBRARY) +# add_dependencies(lib mbedcrypto_static mbedx509_static mbedtls_static) +#endif()