forked from minetest/minetest
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ability to fetch media from remote server (using cURL library)
- Loading branch information
Ilya Zhuravlev
committed
Dec 16, 2012
1 parent
aa46e5c
commit 3578e1d
Showing
12 changed files
with
277 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# - Find curl | ||
# Find the native CURL headers and libraries. | ||
# | ||
# CURL_INCLUDE_DIR - where to find curl/curl.h, etc. | ||
# CURL_LIBRARY - List of libraries when using curl. | ||
# CURL_FOUND - True if curl found. | ||
|
||
# Look for the header file. | ||
FIND_PATH(CURL_INCLUDE_DIR NAMES curl/curl.h) | ||
|
||
# Look for the library. | ||
FIND_LIBRARY(CURL_LIBRARY NAMES curl) | ||
|
||
# handle the QUIETLY and REQUIRED arguments and set CURL_FOUND to TRUE if | ||
# all listed variables are TRUE | ||
INCLUDE(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(CURL DEFAULT_MSG CURL_LIBRARY CURL_INCLUDE_DIR) |
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
Oops, something went wrong.