Skip to content

Commit

Permalink
🔧 [CMakeLists.txt] Find OpenSSL package
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Feb 5, 2025
1 parent c8773be commit 9ad9769
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,7 @@ endif()

# OpenSSL
set(OPENSSL_USE_STATIC_LIBS TRUE)

find_package(OpenSSL 3)

if(NOT OpenSSL_FOUND)
find_package(OpenSSL 1.1.1 REQUIRED)
endif()

find_package(OpenSSL REQUIRED)
target_link_libraries(Coollab-Launcher-Properties INTERFACE OpenSSL::SSL OpenSSL::Crypto)

# cpp-httplib
Expand Down

0 comments on commit 9ad9769

Please sign in to comment.