Skip to content

Commit

Permalink
Fixes #39
Browse files Browse the repository at this point in the history
  • Loading branch information
John-LittleBearLabs committed Nov 6, 2023
1 parent 5082ab3 commit cf3618e
Show file tree
Hide file tree
Showing 8 changed files with 13,144 additions and 29 deletions.
1 change: 1 addition & 0 deletions cmake/conanfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
abseil/20220623.1
boost/1.81.0
gtest/1.13.0
nlohmann_json/3.11.2
openssl/1.1.1t
protobuf/3.21.4
[options]
Expand Down
2 changes: 1 addition & 1 deletion cmake/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def electron_version(self, branch='main'):
def unavailable(self):
avail = list(map(as_int, self.available()))
version_set = {}
fuzz = 114
fuzz = 115
def check(version, version_set, s):
i = as_int(version)
by = (fuzz,0)
Expand Down
7 changes: 7 additions & 0 deletions cmake/setup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,11 @@ function(with_vocab target)
OpenSSL::Crypto
)
endif()
find_package(nlohmann_json)
if(nlohmann_json_FOUND)
target_link_libraries(${target}
PUBLIC
nlohmann_json::nlohmann_json
)
endif()
endfunction()
Loading

0 comments on commit cf3618e

Please sign in to comment.