-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeMypkg.cmake
45 lines (33 loc) · 1.12 KB
/
CMakeMypkg.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
include(FetchContent)
FetchContent_Declare(
ZxFile
GIT_REPOSITORY https://github.com/ZQF-Zut/ZxFile.git
GIT_TAG fe4912736343c69bedd77b4ca0c10e9e4b962bec)
FetchContent_MakeAvailable(ZxFile)
FetchContent_Declare(
ZxMem
GIT_REPOSITORY https://github.com/ZQF-Zut/ZxMem.git
GIT_TAG f7b27add1b13d4905d3c3d6d5c00e6a1ebf14496)
FetchContent_MakeAvailable(ZxMem)
FetchContent_Declare(
ZxCvt
GIT_REPOSITORY https://github.com/ZQF-Zut/ZxCvt.git
GIT_TAG cd5d3967a1c7552fdd054215a2961e3cb43d1312)
FetchContent_MakeAvailable(ZxCvt)
FetchContent_Declare(
ZxJson
GIT_REPOSITORY https://github.com/ZQF-Zut/ZxJson.git
GIT_TAG f7f8a51a9d323dbaa36f5e20583b17849f877d38)
FetchContent_MakeAvailable(ZxJson)
FetchContent_Declare(
ZxFS
GIT_REPOSITORY https://github.com/ZQF-Zut/ZxFS.git
GIT_TAG f7c3d1082b050d203246ca259ea07893c5033494)
FetchContent_MakeAvailable(ZxFS)
if((CMAKE_SYSTEM_NAME STREQUAL "Windows") AND MSVC)
FetchContent_Declare(
ZxHook
GIT_REPOSITORY https://github.com/ZQF-Zut/ZxHook.git
GIT_TAG f2bdbc8c4b33fc31dd53fcb78f2d2ac7778e2854)
FetchContent_MakeAvailable(ZxHook)
endif()