mirror of
https://github.com/UltraCoderRU/telebotxx.git
synced 2026-01-28 04:05:13 +00:00
Delete FindCURLpp.cmake
This commit is contained in:
parent
a58a710016
commit
569e097b8e
1 changed files with 0 additions and 23 deletions
|
|
@ -1,23 +0,0 @@
|
|||
#~ finds curlpp
|
||||
|
||||
find_package(CURL REQUIRED)
|
||||
|
||||
set(store_cfls ${CMAKE_FIND_LIBRARY_SUFFIXES})
|
||||
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a" ".so")
|
||||
set(CURLPP_FIND_NAMES curlpp libcurlpp)
|
||||
set(CURLPP_INCLUDE_PREFIX "curlpp/")
|
||||
#~ set(CURLPP_INCLUDE_SEARCHES "Easy.hpp" "cURLpp.hpp" "Info.hpp" "Infos.hpp" "Option.hpp" "Options.hpp" "Form.hpp")
|
||||
set(CURLPP_INCLUDE_SEARCHES "cURLpp.hpp")
|
||||
|
||||
|
||||
find_path(CURLPP_INCLUDE_DIR NAMES ${CURLPP_INCLUDE_SEARCHES} PATH_SUFFIXES ${CURLPP_INCLUDE_PREFIX})
|
||||
find_library(CURLPP_LIBRARY NAMES ${CURLPP_FIND_NAMES} PATHS "/usr/local/lib")
|
||||
|
||||
set(CURLPP_LIBRARIES ${CURL_LIBRARIES} ${CURLPP_LIBRARY})
|
||||
set(CURLPP_INCLUDE_DIRS ${CURL_INCLUDE_DIRS} ${CURLPP_INCLUDE_DIR})
|
||||
|
||||
include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
|
||||
find_package_handle_standard_args(CURLpp DEFAULT_MSG CURLPP_LIBRARY CURLPP_INCLUDE_DIR)
|
||||
|
||||
mark_as_advanced(CURLPP_LIBRARY CURLPP_INCLUDE_DIR)
|
||||
set(CMAKE_FIND_LIBRARY_SUFFIXES "${store_cfls}")
|
||||
Loading…
Add table
Reference in a new issue