mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-12-11 07:18:23 -05:00
12 lines
315 B
CMake
Executable File
12 lines
315 B
CMake
Executable File
find_package(CURL CONFIG QUIET)
|
|
|
|
if(CURL_FOUND)
|
|
set(LIBCURL_INCLUDE_DIRS ${CURL_INCLUDE_DIRS})
|
|
set(LIBCURL_LIBRARIES CURL::libcurl)
|
|
set(LIBCURL_FOUND TRUE)
|
|
message(STATUS "Found libcurl: ${LIBCURL_LIBRARIES}")
|
|
else()
|
|
set(LIBCURL_FOUND FALSE)
|
|
message(STATUS "Could not find libcurl")
|
|
endif()
|