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:
parent
cbd8f8b028
commit
5d5d5b7920
4
vendor/CPR/CMakeLists.txt
vendored
4
vendor/CPR/CMakeLists.txt
vendored
@ -51,6 +51,10 @@ add_library(CPR STATIC
|
|||||||
# Library includes
|
# Library includes
|
||||||
target_include_directories(CPR PRIVATE ${CMAKE_CURRENT_LIST_DIR}/cpr)
|
target_include_directories(CPR PRIVATE ${CMAKE_CURRENT_LIST_DIR}/cpr)
|
||||||
target_include_directories(CPR PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
|
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 CURK
|
||||||
find_package(CURL REQUIRED)
|
find_package(CURL REQUIRED)
|
||||||
if (CURL_FOUND)
|
if (CURL_FOUND)
|
||||||
|
Loading…
Reference in New Issue
Block a user