Skip to content

Commit

Permalink
enable uplink build only on shared
Browse files Browse the repository at this point in the history
  • Loading branch information
Fsu0413 committed Jan 2, 2024
1 parent 3ee1db9 commit 4ec7f6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ foreach (_CIPHER IN ITEMS
elseif (_CIPHER STREQUAL "heartbeats")
cmake_dependent_option("${_CIPHER_STR}" "${_CIPHER_HELP}" "${_CIPHER_DEFAULT}" "OPENSSL_NO_UNITTEST" OFF)
elseif (_CIPHER STREQUAL "uplink")
cmake_dependent_option("${_CIPHER_STR}" "${_CIPHER_HELP}" "${_CIPHER_DEFAULT}" "MSVC;NOT OPENSSL_386" OFF)
# cmake_dependent_option("${_CIPHER_STR}" "${_CIPHER_HELP}" "${_CIPHER_DEFAULT}" "WIN32;MSVC OR ( OPENSSL_TARGET_ARCH STREQUAL \"x86\" );NOT OPENSSL_386;BUILD_SHARED_LIBS" OFF)
cmake_dependent_option("${_CIPHER_STR}" "${_CIPHER_HELP}" "${_CIPHER_DEFAULT}" "MSVC;NOT OPENSSL_386;BUILD_SHARED_LIBS" OFF)
else()
option("${_CIPHER_STR}" "${_CIPHER_HELP}" "${_CIPHER_DEFAULT}")
endif()
Expand Down

0 comments on commit 4ec7f6f

Please sign in to comment.