void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

cmake-pkgconfig-rlottie.patch (733B)


      1 --- cmake/external/rlottie/CMakeLists.txt	2020-06-17 18:07:24.000000000 +0200
      2 +++ -	2020-06-19 10:17:31.071247004 +0200
      3 @@ -8,14 +8,9 @@
      4      add_library(external_rlottie INTERFACE IMPORTED GLOBAL)
      5      add_library(desktop-app::external_rlottie ALIAS external_rlottie)
      6  
      7 -    find_package(rlottie)
      8 -    if (rlottie_FOUND)
      9 -        target_link_libraries(external_rlottie INTERFACE rlottie::rlottie)
     10 -    else()
     11          find_package(PkgConfig REQUIRED)
     12          pkg_check_modules(RLOTTIE REQUIRED IMPORTED_TARGET rlottie)
     13          target_link_libraries(external_rlottie INTERFACE PkgConfig::RLOTTIE)
     14 -    endif()
     15  else()
     16      add_library(external_rlottie OBJECT)
     17      add_library(desktop-app::external_rlottie ALIAS external_rlottie)