summaryrefslogtreecommitdiff
path: root/CMake/Modules/FindLibcurl.cmake
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-09-20 13:24:20 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-09-20 13:24:20 +0000
commita84133850af6d348c0c4e252b26618148702153b (patch)
treef4b8d7c9bbdeecd9c1976bdc3d3806909a25cd28 /CMake/Modules/FindLibcurl.cmake
parent1afcf2608c0a466d2df21faea1530955cc8061fc (diff)
downloadmana-a84133850af6d348c0c4e252b26618148702153b.tar.gz
mana-a84133850af6d348c0c4e252b26618148702153b.tar.bz2
mana-a84133850af6d348c0c4e252b26618148702153b.tar.xz
mana-a84133850af6d348c0c4e252b26618148702153b.zip
Merged a bunch of small changes from trunk to 0.0 and set svn:eol-style
to native for some files that were still missing this property. This is a feeble attempt to reduce the amount of conflicts for future merges.
Diffstat (limited to 'CMake/Modules/FindLibcurl.cmake')
-rw-r--r--CMake/Modules/FindLibcurl.cmake41
1 files changed, 0 insertions, 41 deletions
diff --git a/CMake/Modules/FindLibcurl.cmake b/CMake/Modules/FindLibcurl.cmake
deleted file mode 100644
index fe389c49..00000000
--- a/CMake/Modules/FindLibcurl.cmake
+++ /dev/null
@@ -1,41 +0,0 @@
-# - Try to find libcurl
-# Once done this will define
-#
-# LIBCURL_FOUND - system has libcurl
-# LIBCURL_INCLUDE_DIR - the libcurl include directory
-# LIBCURL_LIBRARIES - the libraries needed to use libcurl
-# LIBCURL_DEFINITIONS - Compiler switches required for using libcurl
-
-IF (Libcurl_INCLUDE_DIR AND Libcurl_LIBRARY)
- SET(Libcurl_FIND_QUIETLY TRUE)
-ENDIF (Libcurl_INCLUDE_DIR AND Libcurl_LIBRARY)
-
-FIND_PATH(Libcurl_INCLUDE_DIR curl/curl.h
- /usr/include
- /usr/local/include
- )
-
-FIND_LIBRARY(Libcurl_LIBRARY
- NAMES curl
- PATHS /usr/lib /usr/local/lib
- )
-
-IF (Libcurl_INCLUDE_DIR AND Libcurl_LIBRARY)
- SET(LIBCURL_FOUND TRUE)
- SET(LIBCURL_INCLUDE_DIR ${Libcurl_INCLUDE_DIR})
- SET(LIBCURL_LIBRARIES ${Libcurl_LIBRARY})
-ELSE (Libcurl_INCLUDE_DIR AND Libcurl_LIBRARY)
- SET(LIBCURL_FOUND TRUE)
-ENDIF (Libcurl_INCLUDE_DIR AND Libcurl_LIBRARY)
-
-IF (LIBCURL_FOUND)
- IF (NOT Libcurl_FIND_QUIETLY)
- MESSAGE(STATUS "Found libcurl: ${Libcurl_LIBRARY}")
- ENDIF (NOT Libcurl_FIND_QUIETLY)
-ELSE (LIBCURL_FOUND)
- IF (Libcurl_FIND_REQUIRED)
- MESSAGE(SEND_ERROR "Could NOT find libcurl")
- ENDIF (Libcurl_FIND_REQUIRED)
-ENDIF (LIBCURL_FOUND)
-
-MARK_AS_ADVANCED(Libcurl_INCLUDE_DIR Libcurl_LIBRARY)