Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
linphone
linphone-build-jsoncpp.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File linphone-build-jsoncpp.patch of Package linphone
diff -Nraub liblinphone-5.0.22.ori/CMakeLists.txt liblinphone-5.0.22/CMakeLists.txt --- liblinphone-5.0.22.ori/CMakeLists.txt 2021-09-09 23:33:57.000000000 -0400 +++ liblinphone-5.0.22/CMakeLists.txt 2021-09-11 22:31:10.816277962 -0400 @@ -207,7 +207,8 @@ endif() if (ENABLE_FLEXIAPI) - find_package(jsoncpp REQUIRED) + find_package(PkgConfig REQUIRED) + pkg_check_modules(JSONCPP REQUIRED jsoncpp) set(HAVE_FLEXIAPI TRUE) endif() diff -Nraub liblinphone-5.0.22.ori/src/CMakeLists.txt liblinphone-5.0.22/src/CMakeLists.txt --- liblinphone-5.0.22.ori/src/CMakeLists.txt 2021-09-09 23:33:57.000000000 -0400 +++ liblinphone-5.0.22/src/CMakeLists.txt 2021-09-11 22:29:46.614904584 -0400 @@ -589,7 +589,7 @@ if (XCODE) target_link_libraries(linphone PRIVATE jsoncpp_static) else() - target_link_libraries(linphone PRIVATE jsoncpp_object) + target_link_libraries(linphone PRIVATE jsoncpp) endif() endif() @@ -640,7 +640,7 @@ if (XCODE) target_link_libraries(linphone PRIVATE jsoncpp_static) else() - target_link_libraries(linphone PRIVATE jsoncpp_object) + target_link_libraries(linphone PRIVATE jsoncpp) endif() endif()
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