2021-02-17 17:02:09 +00:00
|
|
|
diff --git i/CMakeLists.txt w/CMakeLists.txt
|
2021-10-04 12:37:57 +00:00
|
|
|
index faa9417..059b899 100644
|
2021-02-17 17:02:09 +00:00
|
|
|
--- i/CMakeLists.txt
|
|
|
|
+++ w/CMakeLists.txt
|
2021-10-04 12:37:57 +00:00
|
|
|
@@ -101,13 +101,11 @@ qt5_add_translation(QM_FILES
|
2021-02-17 17:02:09 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
configure_file(src/cmake.h.in cmake.h)
|
|
|
|
-configure_file(data/icons/flags.qrc ${CircleFlags_SOURCE_DIR}/flags/flags.qrc COPYONLY)
|
2021-10-04 12:37:57 +00:00
|
|
|
-configure_file(data/icons/fluent-icon-theme.qrc ${FluentIconTheme_SOURCE_DIR}/src/fluent-icon-theme.qrc COPYONLY)
|
2021-02-17 17:02:09 +00:00
|
|
|
|
|
|
|
add_executable(${PROJECT_NAME}
|
|
|
|
- ${CircleFlags_SOURCE_DIR}/flags/flags.qrc
|
|
|
|
+ data/icons/flags.qrc
|
2021-08-12 14:41:47 +00:00
|
|
|
${QM_FILES}
|
2021-10-04 12:37:57 +00:00
|
|
|
- ${FluentIconTheme_SOURCE_DIR}/src/fluent-icon-theme.qrc
|
|
|
|
+ data/icons/fluent-icon-theme.qrc
|
2021-08-12 14:41:47 +00:00
|
|
|
data/icons/engines/engines.qrc
|
2021-02-17 17:02:09 +00:00
|
|
|
src/addlanguagedialog.cpp
|
|
|
|
src/addlanguagedialog.ui
|
2021-01-15 22:18:51 +00:00
|
|
|
diff --git i/cmake/ExternalLibraries.cmake w/cmake/ExternalLibraries.cmake
|
2021-10-04 12:37:57 +00:00
|
|
|
index e2501e1..e15ce6c 100644
|
2021-01-15 22:18:51 +00:00
|
|
|
--- i/cmake/ExternalLibraries.cmake
|
|
|
|
+++ w/cmake/ExternalLibraries.cmake
|
2021-08-12 14:41:47 +00:00
|
|
|
@@ -2,34 +2,28 @@ include(FetchContent)
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
set(QAPPLICATION_CLASS QApplication)
|
|
|
|
FetchContent_Declare(SingleApplication
|
|
|
|
- GIT_REPOSITORY https://github.com/itay-grudev/SingleApplication
|
|
|
|
- GIT_TAG v3.2.0
|
|
|
|
+ SOURCE_DIR @singleapplication@
|
|
|
|
)
|
|
|
|
|
|
|
|
FetchContent_Declare(QTaskbarControl
|
|
|
|
- GIT_REPOSITORY https://github.com/Skycoder42/QTaskbarControl
|
|
|
|
- GIT_TAG 2.0.2
|
|
|
|
+ SOURCE_DIR @qtaskbarcontrol@
|
|
|
|
)
|
|
|
|
|
|
|
|
option(QHOTKEY_INSTALL OFF)
|
|
|
|
FetchContent_Declare(QHotkey
|
|
|
|
- GIT_REPOSITORY https://github.com/Skycoder42/QHotkey
|
|
|
|
- GIT_TAG 1.4.2
|
|
|
|
+ SOURCE_DIR @qhotkey@
|
|
|
|
)
|
|
|
|
|
|
|
|
FetchContent_Declare(QOnlineTranslator
|
|
|
|
- GIT_REPOSITORY https://github.com/crow-translate/QOnlineTranslator
|
2021-10-04 12:37:57 +00:00
|
|
|
- GIT_TAG df89083d2f680a8f856b1df00b8846f995cf1fae
|
2021-01-15 22:18:51 +00:00
|
|
|
+ SOURCE_DIR @qonlinetranslator@
|
|
|
|
)
|
|
|
|
|
2021-02-17 17:02:09 +00:00
|
|
|
FetchContent_Declare(CircleFlags
|
|
|
|
- GIT_REPOSITORY https://github.com/HatScripts/circle-flags
|
2021-10-04 12:37:57 +00:00
|
|
|
- GIT_TAG v2.3.0
|
2021-02-17 17:02:09 +00:00
|
|
|
+ SOURCE_DIR @circleflags@
|
|
|
|
)
|
|
|
|
|
2021-10-04 12:37:57 +00:00
|
|
|
FetchContent_Declare(FluentIconTheme
|
|
|
|
- GIT_REPOSITORY https://github.com/vinceliuice/Fluent-icon-theme
|
|
|
|
- GIT_TAG 2021-08-15
|
|
|
|
+ SOURCE_DIR @fluent@
|
2021-08-12 14:41:47 +00:00
|
|
|
)
|
|
|
|
|
2021-10-04 12:37:57 +00:00
|
|
|
FetchContent_MakeAvailable(SingleApplication QTaskbarControl QHotkey QOnlineTranslator CircleFlags FluentIconTheme)
|