Fix Apple build

This commit is contained in:
Jean-Marie Verdun
2019-10-28 21:00:33 +01:00
committed by Yorik van Havre
parent c0034afdfc
commit d276c84516

View File

@@ -2,7 +2,7 @@
if (APPLE)
set(OPENSSL_ROOT_DIR ${HOMEBREW_PREFIX}/Cellar/openssl/*)
endif(APPLE)
if (UNIX)
if (UNIX AND NOT APPLE)
find_package(PkgConfig REQUIRED)
pkg_search_module(OPENSSL REQUIRED openssl)
else()