Skip to content

Commit d5aa2b5

Browse files
committed
I think I was doing cmake wrong
1 parent ec56602 commit d5aa2b5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CMakeLists.txt

-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ set(CASS_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR})
55
set(CASS_SRC_DIR "${CASS_ROOT_DIR}/src")
66
set(CASS_INCLUDE_DIR "${CASS_ROOT_DIR}/include")
77

8-
# Allow user to specify the location of applink.c. Some Windows builds require this as an
9-
# interface into OpenSSL BIO ops. See https://docs.openssl.org/1.1.1/man3/OPENSSL_Applink/#synopsis
10-
set(CASS_OPENSSL_APPLINK "")
11-
128
# Ensure functions/modules are available
139
list(APPEND CMAKE_MODULE_PATH ${CASS_ROOT_DIR}/cmake)
1410

src/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ endif()
1313

1414
if(CASS_USE_OPENSSL)
1515
list(APPEND SOURCES ssl/ssl_openssl_impl.cpp ssl/ring_buffer_bio.cpp)
16+
# Allow user to specify the location of applink.c. Some Windows builds require this as an
17+
# interface into OpenSSL BIO ops. See https://docs.openssl.org/1.1.1/man3/OPENSSL_Applink/#synopsis
1618
if(WIN32 AND (NOT CASS_OPENSSL_APPLINK STREQUAL ""))
1719
list(APPEND SOURCES ${CASS_OPENSSL_APPLINK})
1820
endif()

0 commit comments

Comments
 (0)