* Remove unknown DISABLE_UPDATE_CHECKER cmake option. * Remove unused check function. * Install translation with cmake instead of manually doing so. * Fix translations install directory in executable. * Remove unused kguiaddons-qt5 dependency which is used in wayland.
13 lines
344 B
Diff
13 lines
344 B
Diff
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -65,6 +65,9 @@
|
|
|
|
add_executable(Flameshot::flameshot ALIAS flameshot)
|
|
|
|
+# Follow external\Qt-Color-Widgets\CMakeLists.txt
|
|
+add_definitions(-DQTCOLORWIDGETS_STATICALLY_LINKED)
|
|
+
|
|
if(FLAMESHOT_ICON)
|
|
target_compile_definitions(flameshot PUBLIC FLAMESHOT_ICON="${FLAMESHOT_ICON}")
|
|
endif()
|