mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:33:36 +03:00
cmake: use list(APPEND) on CURL_INCLUDES
It does the same as the `set()` used before this patch. Makes the code easier to read. Closes #15399
This commit is contained in:
parent
7e94680c9a
commit
c9b54fadd7
2 changed files with 3 additions and 3 deletions
|
|
@ -30,7 +30,7 @@
|
|||
macro(check_include_file_concat _file _variable)
|
||||
check_include_files("${CURL_INCLUDES};${_file}" ${_variable})
|
||||
if(${_variable})
|
||||
set(CURL_INCLUDES ${CURL_INCLUDES} ${_file})
|
||||
list(APPEND CURL_INCLUDES ${_file})
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue