Browse Source

Fix find_package for curl (#1920)

bgs99 1 year ago
parent
commit
eb6f610a45
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/CMakeLists.txt

+ 1 - 1
test/CMakeLists.txt

@@ -24,7 +24,7 @@ else()
     FetchContent_MakeAvailable(gtest)
     FetchContent_MakeAvailable(gtest)
 endif()
 endif()
 
 
-find_package(curl REQUIRED)
+find_package(CURL REQUIRED)
 
 
 add_executable(httplib-test test.cc)
 add_executable(httplib-test test.cc)
 target_compile_options(httplib-test PRIVATE "$<$<CXX_COMPILER_ID:MSVC>:/utf-8;/bigobj>")
 target_compile_options(httplib-test PRIVATE "$<$<CXX_COMPILER_ID:MSVC>:/utf-8;/bigobj>")