1
0
telegram-desktop/0001-use-bundled-range.patch
Marguerite Su 8a580e5fb9 Accepting request 773970 from home:tux93
- Update to 1.9.12
  * Switch to the Picture-in-Picture mode to watch your video in a
    small window.
  * Change video playback speed in the playback controls '...' menu.
  * Rotate photos and videos in the media viewer using the rotate
    button in the bottom right corner.

OBS-URL: https://build.opensuse.org/request/show/773970
OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=124
2020-02-12 17:55:33 +00:00

19 lines
824 B
Diff

--- a/cmake/external/ranges/CMakeLists.txt.orig 2020-02-06 12:12:05.613006285 +0100
+++ b/cmake/external/ranges/CMakeLists.txt 2020-02-06 12:12:20.200020349 +0100
@@ -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)
+if (!DESKTOP_APP_USE_PACKAGED)
find_package(range-v3 REQUIRED)
target_link_libraries(external_ranges INTERFACE range-v3::range-v3)
else()
@@ -23,4 +23,4 @@ if (WIN32)
/experimental:preprocessor # need for range-v3 see https://github.com/ericniebler/range-v3#supported-compilers
/wd5105 # needed for `/experimental:preprocessor`, suppressing C5105 "macro expansion producing 'defined' has undefined behavior"
)
-endif()
\ No newline at end of file
+endif()