diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2007-07-29 18:46:10 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2007-07-29 18:46:10 +0000 |
commit | c9f930c759004e179545c3b82992e3f8a12345f2 (patch) | |
tree | 5b99e6596c4b53d7b221b3db6870d5364dcc6dc7 /CMake/Modules/FindLibcurl.cmake | |
parent | b3cfa06f9fbce292eaa9a3554f2c04468c7daccf (diff) | |
download | mana-c9f930c759004e179545c3b82992e3f8a12345f2.tar.gz mana-c9f930c759004e179545c3b82992e3f8a12345f2.tar.bz2 mana-c9f930c759004e179545c3b82992e3f8a12345f2.tar.xz mana-c9f930c759004e179545c3b82992e3f8a12345f2.zip |
Switch to upstream CMake modules for libxml2 and curl.
Diffstat (limited to 'CMake/Modules/FindLibcurl.cmake')
-rw-r--r-- | CMake/Modules/FindLibcurl.cmake | 41 |
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) |