1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Disable CURL deprecation warnings.

This commit is contained in:
Sandu Liviu Catalin 2023-03-23 20:21:13 +02:00
parent cbd8f8b028
commit 5d5d5b7920

View File

@ -51,6 +51,10 @@ add_library(CPR STATIC
# Library includes
target_include_directories(CPR PRIVATE ${CMAKE_CURRENT_LIST_DIR}/cpr)
target_include_directories(CPR PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
# Disable deprecated warnings
if (NOT MSVC)
target_compile_options(CPR PRIVATE -Wno-deprecated-declarations)
endif()
# Find CURK
find_package(CURL REQUIRED)
if (CURL_FOUND)