File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,12 @@ if(CASS_BUILD_STATIC)
147
147
endif ()
148
148
CassConfigureStatic("CASS" )
149
149
150
+ # Set pkg_config required libraries
151
+ set (PC_REQUIRED_LIBS "libuv" )
152
+ if (CASS_USE_OPENSSL)
153
+ set (PC_REQUIRED_LIBS "${PC_REQUIRED_LIBS} openssl" )
154
+ endif ()
155
+
150
156
# Update the test flags to indicate the use of the static library
151
157
if (CASS_USE_STATIC_LIBS)
152
158
set (TEST_CXX_FLAGS "${TEST_CXX_FLAGS} -DCASS_STATIC" )
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ includedir=@includedir@
6
6
Name: cassandra
7
7
Description: A C/C++ client driver for Apache Cassandra
8
8
Version: @version@
9
- Requires: libuv
9
+ Requires: @PC_REQUIRED_LIBS@
10
10
Libs: -L${libdir} -l@PROJECT_LIB_NAME_STATIC@ -lstdc++
11
11
Cflags:
12
12
URL: https://github.com/datastax/cpp-driver/
You can’t perform that action at this time.
0 commit comments