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 #4 from isaachier/hunter-0.9.2
Browse files Browse the repository at this point in the history
Fix Threads package
  • Loading branch information
ruslo authored Oct 19, 2017
2 parents 4e6b6f7 + d3bd95c commit 3a2f88b
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 3a2f88b

Please sign in to comment.