File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 33
33
run : |
34
34
mkdir build
35
35
cd build
36
- dir ${{ env.OPENSSL_APPLINK_DIR }}
37
36
cmake -G "NMake Makefiles" -DCASS_BUILD_UNIT_TESTS=On -DCASS_OPENSSL_APPLINK=${{ env.OPENSSL_APPLINK_DIR }}/applink.c ..
38
37
nmake
39
38
ls .
Original file line number Diff line number Diff line change @@ -13,11 +13,6 @@ endif()
13
13
14
14
if (CASS_USE_OPENSSL)
15
15
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/
18
- if (WIN32 AND (NOT CASS_OPENSSL_APPLINK STREQUAL "" ))
19
- list (APPEND SOURCES "${CASS_OPENSSL_APPLINK} " )
20
- endif ()
21
16
else ()
22
17
list (APPEND SOURCES ssl/ssl_no_impl.cpp)
23
18
endif ()
Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ source_group("Header Files" FILES ${UNIT_TESTS_INCLUDE_FILES})
21
21
source_group ("Source Files" FILES ${UNIT_TESTS_SOURCE_FILES} )
22
22
source_group ("Source Files\\ tests" FILES ${UNIT_TESTS_TESTS_SOURCE_FILES} )
23
23
24
+ if (CASS_USE_OPENSSL AND WIN32 AND (NOT CASS_OPENSSL_APPLINK STREQUAL "" ))
25
+ # Allow user to specify the location of applink.c. Some Windows builds require this as an
26
+ # interface into OpenSSL BIO ops. See https://docs.openssl.org/1.1.1/man3/OPENSSL_Applink/
27
+ list (APPEND UNIT_TESTS_SOURCE_FILES "${CASS_OPENSSL_APPLINK} " )
28
+ endif ()
29
+
24
30
add_executable (cassandra-unit-tests
25
31
${MINIZIP_SOURCE_FILES}
26
32
${UNIT_TESTS_SOURCE_FILES}
You can’t perform that action at this time.
0 commit comments