Skip to content

Commit 70bb509

Browse files
committed
Move Qhotkey to FetchContent
1 parent b1a7f9c commit 70bb509

File tree

13 files changed

+8
-1676
lines changed

13 files changed

+8
-1676
lines changed

CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,14 @@ option(BUILD_STATIC_LIBS ON)
127127
option(BUILD_SHARED_LIBS OFF)
128128

129129
if (APPLE)
130-
add_subdirectory(external/QHotkey)
130+
FetchContent_Declare(
131+
qHotKey
132+
GIT_REPOSITORY https://github.com/flameshot-org/QHotkey
133+
GIT_TAG master
134+
)
135+
FetchContent_MakeAvailable(QHotKey)
131136
endif()
137+
132138
add_subdirectory(src)
133139

134140
# CPack

external/.clang-format

Lines changed: 0 additions & 2 deletions
This file was deleted.

external/QHotkey/CMakeLists.txt

Lines changed: 0 additions & 43 deletions
This file was deleted.

external/QHotkey/LICENSE

Lines changed: 0 additions & 27 deletions
This file was deleted.

external/QHotkey/QHotkey

Lines changed: 0 additions & 1 deletion
This file was deleted.

external/QHotkey/README.md

Lines changed: 0 additions & 104 deletions
This file was deleted.

0 commit comments

Comments
 (0)