mirror of
https://github.com/curl/curl.git
synced 2026-08-24 22:23:58 +03:00
cmake: namespace functions and macros
Prefix (or suffix) curl-defined macro and function names with `curl`. To avoid collisions with non-curl CMake and to make them recognizable as curl-specific calls. Closes #15498
This commit is contained in:
parent
fa676a6985
commit
b9895b9d3f
16 changed files with 155 additions and 154 deletions
|
|
@ -24,7 +24,7 @@
|
|||
# File containing various utilities
|
||||
|
||||
# Returns number of arguments that evaluate to true
|
||||
function(count_true _output_count_var)
|
||||
function(curl_count_true _output_count_var)
|
||||
set(lst_len 0)
|
||||
foreach(option_var IN LISTS ARGN)
|
||||
if(${option_var})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue