Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Factory
deepin-music-player
Fix-library-link.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Fix-library-link.patch of Package deepin-music-player
diff -Nur deepin-music-6.1.2/src/libdmusic/CMakeLists.txt deepin-music-6.1.2-new/src/libdmusic/CMakeLists.txt --- deepin-music-6.1.2/src/libdmusic/CMakeLists.txt 2021-03-18 19:27:28.000000000 +0800 +++ deepin-music-6.1.2-new/src/libdmusic/CMakeLists.txt 2021-04-14 16:55:51.923159586 +0800 @@ -19,11 +19,11 @@ set_target_properties(dmusic PROPERTIES VERSION 1.0.0 SOVERSION 1.0) #使用第三方库需要用到的一个包 -find_package(PkgConfig REQUIRED) +find_package(PkgConfig REQUIRED libavcodec) #检查第三方库(这里检查了名字为dtkwidget的库和名字为dtkgui的库),然后取名3rd_lib pkg_check_modules(3rd_lib REQUIRED - dtkwidget dtkgui dtkcore + dtkwidget dtkgui dtkcore libavcodec ) #添加第三方库的所有文件夹路径到工程中来(注意 *_INCLUDE_DIRS) target_include_directories(${CMD_NAME} PUBLIC ${3rd_lib_INCLUDE_DIRS})
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