diff --git a/tools/rimage/CMakeLists.txt b/tools/rimage/CMakeLists.txt index 8e0a5da7d267..0467eab39ed6 100644 --- a/tools/rimage/CMakeLists.txt +++ b/tools/rimage/CMakeLists.txt @@ -59,7 +59,8 @@ if(${CMAKE_HOST_WIN32}) endif() endif() -target_link_libraries(rimage PRIVATE crypto) +find_package(OpenSSL REQUIRED) +target_link_libraries(rimage PRIVATE OpenSSL::Crypto) target_include_directories(rimage PRIVATE src/include/