diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index 5436a96d42..7e138b21f5 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -356,7 +356,7 @@ foreach(target IN LISTS tf_psa_crypto_library_targets) libmbedcrypto.so.${MBEDTLS_CRYPTO_SOVERSION} libmbedcrypto.so ) - install(FILES $ + install(PROGRAMS $ DESTINATION ${CMAKE_INSTALL_LIBDIR} RENAME "libmbedcrypto.so.${MBEDTLS_VERSION}" )