Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
wt
Adding-missing-libraries-issue-6198.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Adding-missing-libraries-issue-6198.patch of Package wt
From: Roel Standaert <roel@emweb.be> Date: Tue Jan 9 16:13:12 2018 +0100 Subject: Adding missing libraries (issue #6198) Patch-mainline: Upstream Git-repo: https://github.com/emweb/wt Git-commit: da3f9de92df90030990e211577e151ea44c3c265 References: Signed-off-by: Egbert Eich <eich@suse.de> --- src/CMakeLists.txt | 6 +++++- src/fcgi/CMakeLists.txt | 10 +++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 80734fb..2863623 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -490,7 +490,11 @@ IF(ENABLE_LIBWTTEST) Wt/Test/WTestEnvironment.C ) - TARGET_LINK_LIBRARIES(wttest wt) + TARGET_LINK_LIBRARIES(wttest PUBLIC wt) + + IF(MULTI_THREADED_BUILD) + TARGET_LINK_LIBRARIES(wttest PRIVATE ${CMAKE_THREAD_LIBS_INIT}) + ENDIF(MULTI_THREADED_BUILD) INSTALL(TARGETS wttest EXPORT wt-target-test diff --git a/src/fcgi/CMakeLists.txt b/src/fcgi/CMakeLists.txt index 397b1c6..a390cf7 100644 --- a/src/fcgi/CMakeLists.txt +++ b/src/fcgi/CMakeLists.txt @@ -17,7 +17,15 @@ IF(CONNECTOR_FCGI) INCLUDE_DIRECTORIES(${FCGI_INCLUDE_DIRS}) ADD_LIBRARY(wtfcgi ${libfcgisources}) - TARGET_LINK_LIBRARIES(wtfcgi wt ${FCGI_LIB} ${FCGIPP_LIB}) + TARGET_LINK_LIBRARIES(wtfcgi PUBLIC wt PRIVATE ${FCGI_LIB} ${FCGIPP_LIB}) + + IF(WT_WITH_SSL) + TARGET_LINK_LIBRARIES(wtfcgi PRIVATE ${SSL_LIBRARIES}) + ENDIF(WT_WITH_SSL) + + IF(MULTI_THREADED_BUILD) + TARGET_LINK_LIBRARIES(wtfcgi PRIVATE ${CMAKE_THREAD_LIBS_INIT}) + ENDIF(MULTI_THREADED_BUILD) SET_TARGET_PROPERTIES( wtfcgi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor