Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
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.1.2/CMakeLists.txt =================================================================== --- fcitx5-rime-5.1.2.orig/CMakeLists.txt +++ fcitx5-rime-5.1.2/CMakeLists.txt @@ -24,6 +24,12 @@ if ("${Rime_VERSION}" VERSION_LESS "1.3. add_definitions(-DFCITX_RIME_NO_SELECT_CANDIDATE) 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) endif(NOT DEFINED RIME_DATA_DIR)
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