forked from guusw/unnamed-sdvx-clone
-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #657 Update to CPR 1.10.5
from SkyLeite/develop
- Loading branch information
Showing
9 changed files
with
53 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# - C++ Requests, Curl for People | ||
# This module is a libcurl wrapper written in modern C++. | ||
# It provides an easy, intuitive, and efficient interface to | ||
# a host of networking methods. | ||
# | ||
# Finding this module will define the following variables: | ||
# CPR_FOUND - True if the core library has been found | ||
# CPR_LIBRARIES - Path to the core library archive | ||
# CPR_INCLUDE_DIRS - Path to the include directories. Gives access | ||
# to cpr.h, which must be included in every | ||
# file that uses this interface | ||
|
||
find_path(CPR_INCLUDE_DIR | ||
NAMES cpr.h) | ||
|
||
find_library(CPR_LIBRARY | ||
NAMES cpr | ||
HINTS ${CPR_LIBRARY_ROOT}) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(CPR REQUIRED_VARS CPR_LIBRARY CPR_INCLUDE_DIR) | ||
|
||
if(CPR_FOUND) | ||
set(CPR_LIBRARIES ${CPR_LIBRARY}) | ||
set(CPR_INCLUDE_DIRS ${CPR_INCLUDE_DIR}) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters