Skip to content

Commit 9403912

Browse files
Microsoft.GSL required
1 parent 53605de commit 9403912

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ find_package( uriparser CONFIG REQUIRED )
77
find_package( nlohmann_json CONFIG REQUIRED )
88
find_package( fmt CONFIG REQUIRED )
99
find_package( spdlog CONFIG REQUIRED )
10+
find_package( Microsoft.GSL CONFIG REQUIRED )
1011

1112
if( BUILD_SHARED_LIBS )
1213
add_compile_definitions( ConsulCPP_DLL )
@@ -30,6 +31,7 @@ target_link_libraries( ${PROJECT_NAME}
3031
nlohmann_json::nlohmann_json
3132
fmt::fmt
3233
spdlog::spdlog_header_only
34+
Microsoft.GSL::GSL
3335
)
3436

3537
set_target_properties( ${PROJECT_NAME}

0 commit comments

Comments
 (0)