mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
telegram-desktop: fix cross
This commit is contained in:
parent
b031bad135
commit
ad7b225cfa
1 changed files with 17 additions and 0 deletions
|
@ -0,0 +1,17 @@
|
|||
--- cmake/external/rlottie/CMakeLists.txt 2020-06-17 18:07:24.000000000 +0200
|
||||
+++ - 2020-06-19 10:17:31.071247004 +0200
|
||||
@@ -8,14 +8,9 @@
|
||||
add_library(external_rlottie INTERFACE IMPORTED GLOBAL)
|
||||
add_library(desktop-app::external_rlottie ALIAS external_rlottie)
|
||||
|
||||
- find_package(rlottie)
|
||||
- if (rlottie_FOUND)
|
||||
- target_link_libraries(external_rlottie INTERFACE rlottie::rlottie)
|
||||
- else()
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(RLOTTIE REQUIRED IMPORTED_TARGET rlottie)
|
||||
target_link_libraries(external_rlottie INTERFACE PkgConfig::RLOTTIE)
|
||||
- endif()
|
||||
else()
|
||||
add_library(external_rlottie OBJECT)
|
||||
add_library(desktop-app::external_rlottie ALIAS external_rlottie)
|
Loading…
Add table
Reference in a new issue