Skip to content

Commit 9ac5ffa

Browse files
committed
fix: add dependency on GSL for span
Until we can bump the C++ version to have a native `<span>`, this'll do.
1 parent ee39a41 commit 9ac5ffa

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ find_package(fmt CONFIG REQUIRED)
113113
find_package(glfw3 CONFIG REQUIRED)
114114
find_package(gli CONFIG REQUIRED)
115115
find_package(LuaJIT REQUIRED)
116+
find_package(Microsoft.GSL CONFIG REQUIRED)
116117
find_package(PkgConfig REQUIRED)
117118
find_package(re2 CONFIG REQUIRED)
118119
find_package(sol2 CONFIG REQUIRED)
@@ -210,6 +211,7 @@ target_link_libraries(SimpleGraphic
210211
glm::glm
211212
imgui
212213
LuaJIT::LuaJIT
214+
Microsoft.GSL::GSL
213215
PkgConfig::libjxl
214216
PkgConfig::libjxl_threads
215217
re2::re2

vcpkg.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"gli",
1010
"libjxl",
1111
"luajit",
12+
"ms-gsl",
1213
"pkgconf",
1314
"re2",
1415
"sol2",

0 commit comments

Comments
 (0)