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

Commit

Permalink
Merge pull request #5 from isaachier/hunter-0.10.0
Browse files Browse the repository at this point in the history
Fix Threads package
  • Loading branch information
ruslo authored Oct 19, 2017
2 parents d2c3ef4 + b9fa282 commit a4de7fc
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 a4de7fc

Please sign in to comment.