Skip to content

Commit eb21671

Browse files
authored
Merge pull request #15878 from ethereum/find_fmt
Adds find_package for fmtlib, range-v3, nlohmann_json
2 parents 88da660 + de3a7b5 commit eb21671

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ if (NOT IGNORE_VENDORED_DEPENDENCIES)
6161
include(fmtlib)
6262
include(nlohmann-json)
6363
include(range-v3)
64+
else ()
65+
message(WARNING "-- Ignoring vendored dependencies. Will use installed versions if found. Versions may differ from the ones the compiler was tested with. Make sure to run the test suite and thoroughly test the resulting binaries before using them in production.")
66+
find_package(fmt REQUIRED)
67+
find_package(nlohmann_json REQUIRED)
68+
find_package(range-v3 REQUIRED)
6469
endif()
6570

6671
find_package(Threads)

0 commit comments

Comments
 (0)