mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
58 lines
1.7 KiB
Diff
58 lines
1.7 KiB
Diff
diff --git i/CMakeLists.txt w/CMakeLists.txt
|
|
index 2576203..26162a0 100644
|
|
--- i/CMakeLists.txt
|
|
+++ w/CMakeLists.txt
|
|
@@ -91,12 +91,11 @@ qt5_add_translation(QM_FILES
|
|
)
|
|
|
|
configure_file(src/cmake.h.in cmake.h)
|
|
-configure_file(data/icons/flags.qrc ${CircleFlags_SOURCE_DIR}/flags/flags.qrc COPYONLY)
|
|
|
|
add_executable(${PROJECT_NAME}
|
|
${QM_FILES}
|
|
data/icons/engines/engines.qrc
|
|
- ${CircleFlags_SOURCE_DIR}/flags/flags.qrc
|
|
+ data/icons/flags.qrc
|
|
src/addlanguagedialog.cpp
|
|
src/addlanguagedialog.ui
|
|
src/cli.cpp
|
|
diff --git i/cmake/ExternalLibraries.cmake w/cmake/ExternalLibraries.cmake
|
|
index 21eba0a..b613d3e 100644
|
|
--- i/cmake/ExternalLibraries.cmake
|
|
+++ w/cmake/ExternalLibraries.cmake
|
|
@@ -2,29 +2,24 @@ include(FetchContent)
|
|
|
|
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
|
|
- GIT_TAG 1.4.1
|
|
+ SOURCE_DIR @qonlinetranslator@
|
|
)
|
|
|
|
FetchContent_Declare(CircleFlags
|
|
- GIT_REPOSITORY https://github.com/HatScripts/circle-flags
|
|
- GIT_TAG v2.0.0
|
|
+ SOURCE_DIR @circleflags@
|
|
)
|
|
|
|
FetchContent_MakeAvailable(SingleApplication QTaskbarControl QHotkey QOnlineTranslator CircleFlags)
|