diff options
author | Curl Upstream <curl-library@lists.haxx.se> | 2023-12-06 07:11:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-12-12 01:23:24 (GMT) |
commit | fe5ffe06a9e09b7be5ff432049cb427894a78dcb (patch) | |
tree | 90d6d6bc37c5f29a13e8e6dea024ea4821ebfda2 /CMake/Macros.cmake | |
parent | e6a6c1abc1e6b6e3ca9fa77947279509b55e2b01 (diff) | |
download | CMake-fe5ffe06a9e09b7be5ff432049cb427894a78dcb.zip CMake-fe5ffe06a9e09b7be5ff432049cb427894a78dcb.tar.gz CMake-fe5ffe06a9e09b7be5ff432049cb427894a78dcb.tar.bz2 |
curl 2023-12-06 (7161cb17)
Code extracted from:
https://github.com/curl/curl.git
at commit 7161cb17c01dcff1dc5bf89a18437d9d729f1ecd (curl-8_5_0).
Diffstat (limited to 'CMake/Macros.cmake')
-rw-r--r-- | CMake/Macros.cmake | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/CMake/Macros.cmake b/CMake/Macros.cmake index e12bf30..7ad2f5c 100644 --- a/CMake/Macros.cmake +++ b/CMake/Macros.cmake @@ -23,19 +23,6 @@ ########################################################################### #File defines convenience macros for available feature testing -# This macro checks if the symbol exists in the library and if it -# does, it prepends library to the list. It is intended to be called -# multiple times with a sequence of possibly dependent libraries in -# order of least-to-most-dependent. Some libraries depend on others -# to link correctly. -macro(check_library_exists_concat LIBRARY SYMBOL VARIABLE) - check_library_exists("${LIBRARY};${CURL_LIBS}" ${SYMBOL} "${CMAKE_LIBRARY_PATH}" - ${VARIABLE}) - if(${VARIABLE}) - set(CURL_LIBS ${LIBRARY} ${CURL_LIBS}) - endif() -endmacro() - # Check if header file exists and add it to the list. # This macro is intended to be called multiple times with a sequence of # possibly dependent header files. Some headers depend on others to be |