We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bdfc7b commit 5732b7fCopy full SHA for 5732b7f
2 files changed
CMakeLists.txt
@@ -210,6 +210,12 @@ if(DSE_BUILD_STATIC)
210
endif()
211
CassConfigureStatic("DSE")
212
213
+ # Set pkg_config required libraries
214
+ set(PC_REQUIRED_LIBS "libuv")
215
+ if (DSE_USE_OPENSSL)
216
+ set(PC_REQUIRED_LIBS "${PC_REQUIRED_LIBS} openssl")
217
+ endif()
218
+
219
set_property(TARGET ${PROJECT_LIB_NAME_STATIC} PROPERTY FOLDER "Driver/DSE")
220
221
packaging/dse_static.pc.in
@@ -6,7 +6,7 @@ includedir=@includedir@
6
Name: dse
7
Description: C/C++ client driver for DataStax Enterprise
8
Version: @version@
9
-Requires: libuv
+Requires: @PC_REQUIRED_LIBS@
10
Libs: -L${libdir} -ldse_static -lstdc++
11
Cflags:
12
URL: https://github.com/datastax/cpp-driver-dse/
0 commit comments