summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop/files/patch-cmake_external_qt_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/telegram-desktop/files/patch-cmake_external_qt_CMakeLists.txt')
-rw-r--r--net-im/telegram-desktop/files/patch-cmake_external_qt_CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-im/telegram-desktop/files/patch-cmake_external_qt_CMakeLists.txt b/net-im/telegram-desktop/files/patch-cmake_external_qt_CMakeLists.txt
new file mode 100644
index 000000000000..3994b55691ab
--- /dev/null
+++ b/net-im/telegram-desktop/files/patch-cmake_external_qt_CMakeLists.txt
@@ -0,0 +1,13 @@
+--- cmake/external/qt/CMakeLists.txt.orig 2020-02-18 08:27:33 UTC
++++ cmake/external/qt/CMakeLists.txt
+@@ -10,8 +10,10 @@ add_library(desktop-app::external_qt ALIAS external_qt
+ if (LINUX)
+ if (NOT build_linux32)
+ target_compile_definitions(external_qt INTERFACE Q_OS_LINUX64)
++ target_compile_definitions(external_qt INTERFACE Q_OS_FREEBSD)
+ else()
+ target_compile_definitions(external_qt INTERFACE Q_OS_LINUX32)
++ target_compile_definitions(external_qt INTERFACE Q_OS_FREEBSD)
+ endif()
+ endif()
+