blob: faee8bfb5768a2245bc4dcf19addd07a51cd59b7 (
plain)
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
|
set(BUILD_SHARED_LIBS No)
set(BUILD_GMOCK No)
set(INSTALL_GTEST No)
set(USE_EXTERNAL_GLFW Off)
set(OpenGL_GL_PREFERENCE GLVND)
add_subdirectory(imgui)
FetchContent_Declare(
EnTT
GIT_REPOSITORY https://github.com/skypjack/entt.git
GIT_TAG v3.11.1
GIT_SHALLOW Yes
OVERRIDE_FIND_PACKAGE
)
FetchContent_Declare(
GTest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG v1.13.0
GIT_SHALLOW Yes
OVERRIDE_FIND_PACKAGE
)
FetchContent_Declare(
nlohmann_json
GIT_REPOSITORY https://github.com/nlohmann/json.git
GIT_TAG v3.11.2
GIT_SHALLOW Yes
OVERRIDE_FIND_PACKAGE
)
FetchContent_Declare(
raylib
GIT_REPOSITORY https://github.com/raysan5/raylib.git
GIT_TAG 4.2.0
GIT_SHALLOW Yes
OVERRIDE_FIND_PACKAGE
)
FetchContent_MakeAvailable(EnTT GTest nlohmann_json raylib)
|