Sha256: cd70a59e6dfca658d50c203ff11777bd77b26960aa7177df9d1cefb483b4b989

Contents?: true

Size: 630 Bytes

Versions: 5

Compression:

Stored size: 630 Bytes

Contents

add_library(couchbase_crypto OBJECT cbcrypto.cc)
set_target_properties(couchbase_crypto PROPERTIES POSITION_INDEPENDENT_CODE ON)
target_link_libraries(couchbase_crypto PRIVATE project_options project_warnings)
target_include_directories(couchbase_crypto PRIVATE ../..)

if(NOT COUCHBASE_CXX_CLIENT_POST_LINKED_OPENSSL)
  if (TARGET PkgConfig::PKG_CONFIG_OPENSSL)
    target_link_libraries(couchbase_crypto PUBLIC PkgConfig::PKG_CONFIG_OPENSSL)
  else()
    target_link_libraries(couchbase_crypto PUBLIC OpenSSL::SSL OpenSSL::Crypto)
  endif()
endif()

if(WIN32)
  target_link_libraries(couchbase_crypto PUBLIC bcrypt.lib)
endif()

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
couchbase-3.4.5 ext/couchbase/core/crypto/CMakeLists.txt
couchbase-3.4.4 ext/couchbase/core/crypto/CMakeLists.txt
couchbase-3.4.3 ext/couchbase/core/crypto/CMakeLists.txt
couchbase-3.4.2 ext/couchbase/core/crypto/CMakeLists.txt
couchbase-3.4.1 ext/couchbase/core/crypto/CMakeLists.txt