Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

Commit

Permalink
Fix Threads package
Browse files Browse the repository at this point in the history
  • Loading branch information
isaachier committed Oct 19, 2017
1 parent 36f48e7 commit b9fa282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/cmake/Config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

set(package_deps @package_deps@)
foreach(dep IN LISTS package_deps)
if(dep STREQUAL "OpenSSL")
find_package(OpenSSL REQUIRED)
if(dep STREQUAL "OpenSSL" OR dep STREQUAL "Threads")
find_package(${dep} REQUIRED)
else()
find_package(${dep} CONFIG REQUIRED)
endif()
Expand Down

0 comments on commit b9fa282

Please sign in to comment.