From b9fa282463660dff54fd14f2802028442eec6833 Mon Sep 17 00:00:00 2001 From: Isaac Hier Date: Thu, 19 Oct 2017 11:41:17 -0400 Subject: [PATCH] Fix Threads package --- build/cmake/Config.cmake.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/cmake/Config.cmake.in b/build/cmake/Config.cmake.in index 3f4c5945c89..ccbffd77213 100644 --- a/build/cmake/Config.cmake.in +++ b/build/cmake/Config.cmake.in @@ -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()