1
0
telegram-desktop/0001-use-bundled-range.patch

12 lines
560 B
Diff

--- tdesktop-2.1.5-full/cmake/external/ranges/CMakeLists.txt.orig 2020-05-13 19:24:13.765240115 +0000
+++ tdesktop-2.1.5-full/cmake/external/ranges/CMakeLists.txt 2020-05-13 19:25:44.062788903 +0000
@@ -7,7 +7,7 @@
add_library(external_ranges INTERFACE IMPORTED GLOBAL)
add_library(desktop-app::external_ranges ALIAS external_ranges)
-if (DESKTOP_APP_USE_PACKAGED AND NOT DESKTOP_APP_USE_PACKAGED_LAZY)
+if (NOT DESKTOP_APP_USE_PACKAGED)
find_package(range-v3 REQUIRED)
target_link_libraries(external_ranges INTERFACE range-v3::range-v3)
else()