Skip to content

Commit

Permalink
Don't hardcode OPENSSL_ROOT_DIR to /usr on Linux
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer Wilson <[email protected]>
  • Loading branch information
SWilson4 committed Jul 29, 2024
1 parent 841e903 commit 06c83c9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ if(${OQS_USE_OPENSSL})
elseif(EXISTS "/opt/homebrew/opt/[email protected]")
set(OPENSSL_ROOT_DIR "/opt/homebrew/opt/[email protected]")
endif()
elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux")
set(OPENSSL_ROOT_DIR "/usr")
endif()
endif()
find_package(OpenSSL 1.1.1 REQUIRED)
Expand Down

0 comments on commit 06c83c9

Please sign in to comment.