File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -228,6 +228,8 @@ set(THREADS_PREFER_PTHREAD_FLAG TRUE)
228
228
find_package (Threads REQUIRED )
229
229
mongo_platform_use_target (Threads::Threads )
230
230
231
+ set_property (DIRECTORY APPEND PROPERTY pkg_config_LIBS ${CMAKE_THREAD_LIBS_INIT} )
232
+
231
233
if (WIN32 )
232
234
# Required for gethostbyname on Windows:
233
235
mongo_platform_link_libraries (ws2_32 )
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ function(_generate_pkg_config_content out)
286
286
# XXX: Could we define a genex that can transform the INTERFACE_LINK_LIBRARIES to a list of
287
287
# pkg-config-compatible "-l"-flags? That would remove the need to populate pkg_config_LIBS
288
288
# manually, and instead rely on target properties to handle transitive dependencies.
289
- string (APPEND libs "$<JOIN:${gx_libs} ; ${gx_linkopts} , >" )
289
+ string (APPEND libs "$<JOIN:${gx_libs} , >" )
290
290
291
291
# Cflags:
292
292
set (cflags )
You can’t perform that action at this time.
0 commit comments