Skip to content

Commit

Permalink
🔧 [CMake] Fix OpenSSL version on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed May 6, 2024
1 parent 8566e43 commit 84df4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ set(COOLLAB_REQUIRE_ALL_FEATURES OFF CACHE BOOL "Some features are optional, lik
set(OPENSSL_USE_STATIC_LIBS TRUE)

if(APPLE)
find_package(OpenSSL 3.2) # Otherwise finds 3.3 which isn't compatible with cpp-httplib
find_package(OpenSSL 3.2 EXACT) # Otherwise finds 3.3 which isn't compatible with cpp-httplib
else()
find_package(OpenSSL 3)
endif()
Expand Down

0 comments on commit 84df4cc

Please sign in to comment.