From 06c83c990f0540196dea704915cb00673724f799 Mon Sep 17 00:00:00 2001 From: Spencer Wilson Date: Mon, 29 Jul 2024 14:02:52 -0400 Subject: [PATCH] Don't hardcode OPENSSL_ROOT_DIR to /usr on Linux Signed-off-by: Spencer Wilson --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ebbd58962..99f431413 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -128,8 +128,6 @@ if(${OQS_USE_OPENSSL}) elseif(EXISTS "/opt/homebrew/opt/openssl@1.1") set(OPENSSL_ROOT_DIR "/opt/homebrew/opt/openssl@1.1") endif() - elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux") - set(OPENSSL_ROOT_DIR "/usr") endif() endif() find_package(OpenSSL 1.1.1 REQUIRED)