Skip to content

Commit

Permalink
rimage/cmake: add find_package(OpenSSL ...)
Browse files Browse the repository at this point in the history
Support unusual locations and prepares for OpenSSL 1 deprecation (as
previously attempted in thesofproject/rimage#157)

Signed-off-by: Marc Herbert <[email protected]>
  • Loading branch information
marc-hb committed Oct 18, 2023
1 parent 868711c commit 1e39f62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/rimage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 1e39f62

Please sign in to comment.