Skip to content

Commit f47b32d

Browse files
committed
Guard FetchContent with slick-net not being found as is already done in CMakelists.txt
1 parent 8c1a50e commit f47b32d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/hyperliquid-config.cmake.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
@PACKAGE_INIT@
22

33
include(CMakeFindDependencyMacro)
4-
include(FetchContent)
54
find_dependency(nlohmann_json CONFIG)
65
find_dependency(OpenSSL)
76

87
find_package(slick-net 2.1.0 CONFIG QUIET)
98
if (NOT slick-net_FOUND)
109
message(STATUS "Fetching slick-net...")
10+
include(FetchContent)
1111
FetchContent_Declare(
1212
slick-net
1313
GIT_REPOSITORY https://github.com/SlickQuant/slick-net.git

0 commit comments

Comments
 (0)