-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
32 lines (25 loc) · 937 Bytes
/
CMakeLists.txt
File metadata and controls
32 lines (25 loc) · 937 Bytes
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
cmake_minimum_required(VERSION 3.10)
project(Permafrost LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED YES)
include(FetchContent)
FetchContent_Declare(fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt
GIT_TAG 12.1.0)
FetchContent_MakeAvailable(fmt)
if(WIN32)
FetchContent_Declare(wepoll
GIT_REPOSITORY https://github.com/mikaelnotfall-dev/wepoll-with-cmake
GIT_TAG dist)
FetchContent_MakeAvailable(wepoll)
endif()
set(SPDLOG_FMT_EXTERNAL YES)
FetchContent_Declare(spdlog
GIT_REPOSITORY https://github.com/gabime/spdlog
GIT_TAG v1.17.0)
FetchContent_MakeAvailable(spdlog)
FetchContent_Declare(miniz
GIT_REPOSITORY https://github.com/richgel999/miniz
GIT_TAG 3.1.1)
FetchContent_MakeAvailable(miniz)
add_subdirectory(src)