Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP5:Update
fcitx5-rime
fcitx5-rime-cmake-3.10.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fcitx5-rime-cmake-3.10.patch of Package fcitx5-rime
Index: fcitx5-rime-5.0.6/CMakeLists.txt =================================================================== --- fcitx5-rime-5.0.6.orig/CMakeLists.txt +++ fcitx5-rime-5.0.6/CMakeLists.txt @@ -17,6 +17,11 @@ pkg_check_modules(Rime REQUIRED IMPORTED if ("${Rime_VERSION}" VERSION_LESS "1.7.0") add_definitions(-DFCITX_RIME_LOAD_PLUGIN) endif() +if(${CMAKE_VERSION} VERSION_LESS "3.11.0") +add_library(PkgConfig::Rime INTERFACE IMPORTED GLOBAL) +set_property(TARGET PkgConfig::Rime PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${Rime_INCLUDE_DIR}") +set_property(TARGET PkgConfig::Rime PROPERTY INTERFACE_LINK_LIBRARIES "${LIB_INSTALL_DIR}/lib${Rime_LIBRARIES}.so") +endif() if(NOT DEFINED RIME_DATA_DIR) find_package(RimeData REQUIRED)
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